Commit b7fd64e
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 0a75dcb commit b7fd64e
1 file changed
Lines changed: 1 addition & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
| 523 | + | |
0 commit comments