Commit 0159f90
Address code review: stabilize useMemo dependency array
- Replace ternary in useMemo deps with computed stableKey variable
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent 84565fc commit 0159f90
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | | - | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
0 commit comments