diff --git a/assets/tokens/missing.svg b/assets/tokens/missing.svg new file mode 100644 index 00000000..ca9a9515 --- /dev/null +++ b/assets/tokens/missing.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/utils/getTokenLogo.ts b/utils/getTokenLogo.ts index 5ba785a5..c5178ecc 100644 --- a/utils/getTokenLogo.ts +++ b/utils/getTokenLogo.ts @@ -11,5 +11,5 @@ export default function getTokenLogos(symbol: string): { width: number; height: number; } { - return tokenLogos[symbol?.toLowerCase()] || null; + return tokenLogos[symbol?.toLowerCase()] || tokenLogos["missing"]; }