Commit 9ca4da0
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 778d3b1 commit 9ca4da0
1 file changed
Lines changed: 1 addition & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
| 504 | + | |
0 commit comments