import { FormControl, InputLabel, MenuItem, Select, SelectChangeEvent } from '@mui/material'; import { useTranslation } from 'next-i18next'; interface SortProps { sort: string; handleSortChange: (e: SelectChangeEvent) => void; } const Sort: React.FC = ({ sort, handleSortChange }) => { const { t } = useTranslation('products'); return ( <> {t('products:sort')} ); }; export default Sort;