diff --git a/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/authentication.tsx b/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/authentication.tsx index 49f683b9..ad0b2b03 100644 --- a/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/authentication.tsx +++ b/src/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/authentication.tsx @@ -3,7 +3,6 @@ import { ButtonProps as MButtonProps, IconButton as MIconButton, IconButtonProps as MIconButtonProps, - Skeleton, } from "@mui/material"; import Router from "next/router"; import React, { ElementType } from "react"; @@ -23,9 +22,8 @@ export const Authentication = ({ Button, closeMenu, }: AuthenticationProps): JSX.Element | null => { - const { isLoading, profile } = useProfile(); + const { profile } = useProfile(); if (!authenticationEnabled) return null; - if (isLoading) return ; if (profile) return ; return (