import Link from 'next/link'; import { useState } from "react"; import { useRouter } from "next/router"; import { signOut, useSession } from 'next-auth/client'; export default function Shell(props) { const router = useRouter(); const [ session, loading ] = useSession(); const [ profileDropdownExpanded, setProfileDropdownExpanded ] = useState(false); const toggleProfileDropdown = () => { setProfileDropdownExpanded(!profileDropdownExpanded); } return (

{props.heading}

{props.children}
); }