import { Profile } from 'iconsax-react' import { type FC } from 'react' import { useTranslation } from 'react-i18next' import SubMenuItem from './SubMenuItem' import { Pages } from '../../config/Pages' const UsersSubMenu: FC = () => { const { t } = useTranslation('global') const isActive = (name: string) => { return location.pathname.includes(name) } return (