From c7494e84048abf100bae58859e1fcf76b7efba98 Mon Sep 17 00:00:00 2001 From: herz Date: Sun, 16 Apr 2023 17:31:26 +0200 Subject: [PATCH] Fix types --- src/components/Navbar.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 320b11b..aa79e80 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -1,7 +1,8 @@ import { signIn, signOut } from "next-auth/react"; import Link from "next/link"; +import { IpropsWithSessionData } from "~/Interfaces"; -const Navbar: React.FC = (props) => { +const Navbar:React.FC= (props:IpropsWithSessionData) => { const sessionData = props.sessionData return (
@@ -19,7 +20,7 @@ const Navbar: React.FC = (props) => {
  • Item 3