import { useAppTranslation } from '@features/localization/renderer'; import { Button } from '@renderer/components/ui/button'; interface TeamEmptyStateProps { canCreate: boolean; onCreateTeam: () => void; } export const TeamEmptyState = ({ canCreate, onCreateTeam, }: TeamEmptyStateProps): React.JSX.Element => { const { t } = useAppTranslation('team'); return (

{t('list.empty.title')}

{t('list.empty.description')}

{!canCreate ? (

{t('list.empty.localOnly')}

) : null}
); };