import SearchOffIcon from '@mui/icons-material/SearchOff'; import { Box, Typography } from '@mui/material'; import { useTranslation } from 'react-i18next'; import { useAvailableChains } from '../../hooks'; import type { FormTypeProps } from '../../stores'; import { useFieldValues, FormKeyHelper } from '../../stores'; export const TokenNotFound: React.FC = ({ formType }) => { const { t } = useTranslation(); const [selectedChainId] = useFieldValues(FormKeyHelper.getChainKey(formType)); const { getChainById } = useAvailableChains(); return ( {t('info.message.emptyTokenList', { chainName: getChainById(selectedChainId)?.name, })} ); };