Merge branch 'dev' of github.com:LucasVbr/projet-web4 into dev

This commit is contained in:
Laurian-Dufrechou
2023-05-18 17:08:39 +02:00
4 changed files with 31 additions and 24 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { MdError } from "react-icons/md";
import { Button, Text, VStack } from "@chakra-ui/react";
import { useRouter } from "next/router";
export default function LoadingPage() {
export default function ErrorPage() {
const router = useRouter();
return (
+1 -4
View File
@@ -29,10 +29,7 @@ export default function Navbar({variant = 'fixed'}: Props) {
return (
<Flex gap={5} justify={'center'} flexBasis={'100%'}>
{status === 'authenticated'
? authenticatedLinks
: <></>
}
{status === 'authenticated' && authenticatedLinks}
</Flex>
);
};