Commit 7e4f08f
fix: remove incomplete React.memo comparator from TokenSelectorItem
The custom comparator omitted children, networkImageSource, and several
token sub-properties. When children (e.g. the info ButtonIcon) gets a
new reference due to a parent re-render, the memo would block the
re-render leaving a stale closure. Use default shallow comparison
instead.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent ad5bb67 commit 7e4f08f
1 file changed
Lines changed: 1 addition & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
| 493 | + | |
0 commit comments