Skip to content

Commit

Permalink
Add a generic missing token (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-futureverse authored Mar 31, 2022
1 parent b350cf7 commit bfeaa8a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions assets/tokens/missing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion utils/getTokenLogo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
}

0 comments on commit bfeaa8a

Please sign in to comment.