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

{props.heading}

{props.children}
); }