import { useTranslation } from 'react-i18next' import { User } from '../../../../../../types/group-management/user' import MaterialIcon from '@/shared/components/material-icon' type SSOStatusProps = { user: User } export default function SSOStatus({ user }: SSOStatusProps) { const { t } = useTranslation() return ( {user.invite ? (   {t('sso')} ) : ( <> {user.enrollment?.sso ? (   {t('sso')} ) : (   {t('sso')} )} )} ) }