Commit cb5d090
fix: hoist getUserFriendlyKey out of map and justify eslint-disable
Address AI reviewer feedback:
- PERF-13: Hoist iterator-independent getUserFriendlyKey() call outside
the .map() in the currency case
- CONSISTENCY-5: Add justification comment for eslint-disable in tests
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 8051efe commit cb5d090
File tree
2 files changed
+3
-2
lines changed- src/hooks
- tests/unit/hooks
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
161 | 162 | | |
162 | | - | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments