import { useTranslations } from 'next-intl' import Card from '@tw/Card' import Grid from '@tw/Grid' import { Token } from '@types' import { CHAINS_BY_ID } from '@constants/chains' import { getNetworkTextColor } from '@styles/chains' const NoPoolBody = ({ pool, poolChainId, }: { pool: Token poolChainId: number }) => { const t = useTranslations('Pools') return pool && poolChainId ? ( {t('Switch to')}{' '} {CHAINS_BY_ID[poolChainId].name} {' '} {t('to interact with the')} {pool.name} {t('pool')}. ) : ( {t('Invalid Pool ID')} ) } export default NoPoolBody