diff --git a/front/components/security/AuthProvider.tsx b/front/components/security/AuthProvider.tsx index 90210b9d..acb32de8 100644 --- a/front/components/security/AuthProvider.tsx +++ b/front/components/security/AuthProvider.tsx @@ -28,7 +28,7 @@ const AuthProvider = (props: any) => { userInfo = await getUserInfo(access_token); isAuthenticated = true; setAuth({ access_token, isAuthenticated, userInfo, isLoading }); - } else if (!access_token) { + } else{ isAuthenticated = false; setAuth({ access_token, isAuthenticated, userInfo, isLoading }); } diff --git a/front/components/ui/header.tsx b/front/components/ui/header.tsx index a6010743..4bb85c8f 100644 --- a/front/components/ui/header.tsx +++ b/front/components/ui/header.tsx @@ -8,19 +8,8 @@ export const Header = () => { return (
- 🚧 Pre-Alpha
); }; -const PreAlphaLabel = styled.div` - position: fixed; - bottom: 0; - right: 0; - padding: 9px; - background-color: #080501; - color: white; - font-size: 19px; - font-weight: bold; - border-radius: 5px 0 0 0px; - `; + diff --git a/front/components/ui/layout.tsx b/front/components/ui/layout.tsx index 222b123c..1eb548c7 100644 --- a/front/components/ui/layout.tsx +++ b/front/components/ui/layout.tsx @@ -13,7 +13,7 @@ const Layout = (props: any) => { -
+ 🚧 Pre-Alpha
{props.children}