.
This commit is contained in:
parent
4257582d24
commit
0d871050d2
@ -75,7 +75,6 @@ export const LayoutHeader = () => {
|
||||
"hover:bg-primary-light hover:text-primary text-muted-foreground"
|
||||
)}
|
||||
>
|
||||
{menuItem.icon}
|
||||
<Trans i18nKey={menuItem.label} />
|
||||
</Link>
|
||||
))}
|
||||
|
||||
@ -7,7 +7,7 @@ type 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 { i18n } = useTranslation();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user