Description
When we list new or unknown tokens, we might not have a custom logo image for them yet.
Right now, missing images show an ugly broken image icon in the browser.
We need a fallback mechanism that generates a clean initial-based logo if the image fails to load.
Requirements
Description
When we list new or unknown tokens, we might not have a custom logo image for them yet.
Right now, missing images show an ugly broken image icon in the browser.
We need a fallback mechanism that generates a clean initial-based logo if the image fails to load.
Requirements
TokenIcon.tsxcomponent.onErrorattribute on the HTML<img>tag to detect loading failures.div).