Closed icinsight closed 5 years ago
@icinsight I'm afraid that, because of the way we load SVG files you will have to:
import
that file and add it here src/components/common/icons/token_icon.tsx
.Did the above help? If it did, it may be a good idea to add this to the docs.
Ok, I may have missed the token_icon.tsx file. Thanks!
Just update your documentation, and I will do the same with mine!
I got this working just fine: http://dex.0xchange.org:3002/#/erc20/my-wallet?base=king"e=xbc
For some reason, I'm not able to add new token.svg icons. I can change existing ones, but as soon as it is the question of token that I added myself (i.e. not one of those in the repo already), the system renders a "color ball + symbol" icon, even though a fully functional .svg file for that token is there.