Commit fddd6d3
fix: Update BoardRenderer memo to compare litUpHoldsMap by reference (#381)
The previous comparison only checked if litUpHoldsMap was truthy, not
whether it had changed. This caused the queue bar preview to not update
when navigating to the next climb, since both the old and new climb had
a litUpHoldsMap present.
Co-authored-by: Claude <noreply@anthropic.com>1 parent 5aed644 commit fddd6d3
File tree
1 file changed
+2
-4
lines changed- packages/web/app/components/board-renderer
1 file changed
+2
-4
lines changedLines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 52 | + | |
| 53 | + | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
| |||
0 commit comments