rainbow-me / rainbow

🌈‒ the Ethereum wallet that lives in your pocket
https://rainbow.me
GNU General Public License v3.0
3.82k stars 590 forks source link

Fix weird favorites state #5783

Closed walmat closed 1 month ago

walmat commented 1 month ago

Fixes APP-1515

What changed (plus any additional context for devs)

Screen recordings / screenshots

What to test

linear[bot] commented 1 month ago

APP-1515 Broken favorites state

sentry-io[bot] commented 1 month ago

🔍 Existing Issues For Review

Your pull request is modifying functions with the following pre-existing issues:

📄 File: src/swaps/screens/Swap/hooks/useSearchCurrencyLists.ts

Function Unhandled Issue
useSearchCurrencyLists TypeError: Cannot read property 'chainId' of undefined verifiedAssets.filter$argument_0(/Users/ben/workplace/rainbow/rainbow/src/swaps/screens/Swap/hooks/useSearchCurrencyLis...
Event Count: 3 Affected Users: 1
useSearchCurrencyLists TypeError: Cannot read property 'chainId' of null verifiedAssets.filter$argument_0(/Users/ben/workplace/rainbow/rainbow/src/swaps/screens/Swap/hooks/useSearchCurrencyLists.ts...
Event Count: 1 Affected Users: 1

Did you find this useful? React with a 👍 or 👎