diff --git a/web/src/components/profile-dropdown.tsx b/web/src/components/profile-dropdown.tsx index 819866a..d7d4e5e 100644 --- a/web/src/components/profile-dropdown.tsx +++ b/web/src/components/profile-dropdown.tsx @@ -33,13 +33,13 @@ import { useCurrentUser } from '@/hooks/use-current-user'; import useDialogState from '@/hooks/use-dialog-state'; import { useMemo } from 'react'; -// import { useTranslation } from 'react-i18next'; import { SignOutDialog } from './sign-out-dialog'; import { Link } from '@tanstack/react-router'; +import { useTranslation } from 'react-i18next'; export function ProfileDropdown() { const [open, setOpen] = useDialogState() - // const { t } = useTranslation() + const { t } = useTranslation() const { data: user } = useCurrentUser() @@ -50,6 +50,7 @@ export function ProfileDropdown() { }, [user]); const fallbackName = user?.username ? user.username.charAt(0).toUpperCase() : 'U'; + return ( <> @@ -57,7 +58,7 @@ export function ProfileDropdown() {