import { type FC } from 'react' import { useTranslation } from 'react-i18next' import { Link } from 'react-router-dom' import { Pages } from '../../config/Pages' import Button from '../../components/Button' import { Add } from 'iconsax-react' import { useGetResellers } from './hooks/useResellerData' import PageLoading from '../../components/PageLoading' import Td from '../../components/Td' import { ResellerItemType } from './types/Types' const ResellerList: FC = () => { const { t } = useTranslation('global') const getReseller = useGetResellers() return (