From 0d871050d2ea9349374fa268953193cd996f0115 Mon Sep 17 00:00:00 2001 From: David Arranz Date: Tue, 1 Oct 2024 14:09:13 +0200 Subject: [PATCH] . --- client/src/components/Layout/LayoutHeader.tsx | 1 - client/src/components/ProtectedRoute/ProtectedRoute.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/components/Layout/LayoutHeader.tsx b/client/src/components/Layout/LayoutHeader.tsx index ca481f0..a8a3dd1 100644 --- a/client/src/components/Layout/LayoutHeader.tsx +++ b/client/src/components/Layout/LayoutHeader.tsx @@ -75,7 +75,6 @@ export const LayoutHeader = () => { "hover:bg-primary-light hover:text-primary text-muted-foreground" )} > - {menuItem.icon} ))} diff --git a/client/src/components/ProtectedRoute/ProtectedRoute.tsx b/client/src/components/ProtectedRoute/ProtectedRoute.tsx index 3a85512..825bcd6 100644 --- a/client/src/components/ProtectedRoute/ProtectedRoute.tsx +++ b/client/src/components/ProtectedRoute/ProtectedRoute.tsx @@ -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();