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();