diff --git a/components/Nav/Header.js b/components/Nav/Header.js index 7992361..f30f339 100644 --- a/components/Nav/Header.js +++ b/components/Nav/Header.js @@ -22,9 +22,11 @@ import { ChevronRightIcon, } from '@chakra-ui/icons'; import AuthButton from '../AuthButton' +import { signIn, signOut, useSession } from 'next-auth/client'; export default function WithSubnavigation() { const { isOpen, onToggle } = useDisclosure(); + const [session, loading] = useSession() return ( @@ -69,14 +71,13 @@ export default function WithSubnavigation() { justify={'flex-end'} direction={'row'} spacing={6}> -