Hey is a decentralized and permissionless social media app built with Lens Protocol 馃尶
1import { STATIC_IMAGES_URL } from "@hey/data/constants";
2
3const getTokenImage = (symbol?: string): string => {
4 if (!symbol) {
5 return `${STATIC_IMAGES_URL}/tokens/gho.svg`;
6 }
7
8 const symbolLowerCase = symbol?.toLowerCase() || "";
9 return `${STATIC_IMAGES_URL}/tokens/${symbolLowerCase}.svg`;
10};
11
12export default getTokenImage;