import { Token } from '@/types' import styles from './TokenLogo.module.css' import oceanImage from '@/images/ocean.png' import agixImage from '@/images/agix.png' import fetImage from '@/images/fet.png' export function TokenLogo({ token, size = 24 }: { token: Token | undefined size?: number }) { const imageSrc = token?.symbol === 'OCEAN' ? oceanImage : token?.symbol === 'AGIX' ? agixImage : fetImage return token ? ( {/* eslint-disable-next-line @next/next/no-img-element */} {`${token.symbol} ) : null }