diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx
index 3e9a778..831955a 100644
--- a/src/components/Navbar.tsx
+++ b/src/components/Navbar.tsx
@@ -11,18 +11,18 @@ import { useRouter } from "next/router";
import { signOut, useSession } from "next-auth/react";
type Props = {
- variant: "static" | "fixed";
+ variant?: "static" | "fixed";
};
export default function Navbar({ variant = "fixed" }: Props) {
const router = useRouter();
- const { data: session, status } = useSession();
+ const { status } = useSession();
const MiddleSection = () => {
const authenticatedLinks = (
<>
Tableau de bord
- Profile
+ Profil
Carte
>
);
@@ -66,8 +66,7 @@ export default function Navbar({ variant = "fixed" }: Props) {
backdropFilter={"auto"}
backdropBlur={"20px"}
px={10}
- py={2}
- >
+ py={2}>