This commit is contained in:
David Arranz 2024-10-01 14:09:13 +02:00
parent 4257582d24
commit 0d871050d2
2 changed files with 1 additions and 2 deletions

View File

@ -75,7 +75,6 @@ export const LayoutHeader = () => {
"hover:bg-primary-light hover:text-primary text-muted-foreground" "hover:bg-primary-light hover:text-primary text-muted-foreground"
)} )}
> >
{menuItem.icon}
<Trans i18nKey={menuItem.label} /> <Trans i18nKey={menuItem.label} />
</Link> </Link>
))} ))}

View File

@ -7,7 +7,7 @@ type ProctectRouteProps = {
}; };
export const ProtectedRoute = ({ children }: ProctectRouteProps) => { export const ProtectedRoute = ({ children }: ProctectRouteProps) => {
const { isPending, isSuccess, data: { authenticated, redirectTo } = {} } = useIsLoggedIn(); const { isSuccess, data: { authenticated, redirectTo } = {} } = useIsLoggedIn();
//const { data: profile, ...profileStatus } = useGetProfile(); //const { data: profile, ...profileStatus } = useGetProfile();
/*const { i18n } = useTranslation(); /*const { i18n } = useTranslation();