diff --git a/components/Shell.tsx b/components/Shell.tsx index 039ed795..904f226e 100644 --- a/components/Shell.tsx +++ b/components/Shell.tsx @@ -9,7 +9,6 @@ import { CalendarIcon, ClockIcon, PuzzleIcon, - SupportIcon, CogIcon, ChatAltIcon, LogoutIcon, @@ -66,10 +65,6 @@ export default function Shell(props) { }); }, [telemetry]); - const logoutHandler = () => { - signOut({ redirect: false }).then(() => router.push("/auth/logout")); - }; - if (!loading && !session) { router.replace("/auth/login"); } @@ -243,9 +238,7 @@ function UserDropdown({session, small, bottom} : {session: any, small?: boolean, "w-64 z-10 absolute mt-1 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 divide-y divide-gray-200 focus:outline-none" )}>
@@ -253,26 +246,42 @@ function UserDropdown({session, small, bottom} : {session: any, small?: boolean,