Safe-react: Token icon not always displayed

Created on 15 Jun 2020  路  2Comments  路  Source: gnosis/safe-react

Description

Sometimes it happens that a token icon is not displayed even so we have an asset for it.

when you open an app we fetch tokens from relay service, but at the same time the balance tab tries to display tokens. It doesn鈥檛 find any -> fetches the data directly from blockchain without an icon.

We can fix it in a different ways:

  • The broad way - we need to improve how we fetch the data required for app to start initially. There are some improvements, because sometime we fetch data multiple times that can be fetched only once (for example last safe master contract version fetched everytime safe is fetched)
  • The fast way - we just fix this bug

Screenshots

  • SNX and GNO icons were available when the screenshot was taken

image

Bug 馃悰 Major

Most helpful comment

link to relevant discussion which touches a little bit how we load data in our app that should be required to have before we display anything: https://gnosisinc.slack.com/archives/CQB729LLF/p1592168087016500

All 2 comments

link to relevant discussion which touches a little bit how we load data in our app that should be required to have before we display anything: https://gnosisinc.slack.com/archives/CQB729LLF/p1592168087016500

Looks good in prod. The tokens reported now have icons.
Also in the "Manage list" the vast majority of tokens have Icons (I've only seen 1 token without icon)

image.png

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lukasschor picture lukasschor  路  5Comments

pablofullana picture pablofullana  路  3Comments

Agupane picture Agupane  路  3Comments

katspaugh picture katspaugh  路  4Comments

katspaugh picture katspaugh  路  5Comments