diff --git a/components/Shell.tsx b/components/Shell.tsx index 0d32940b5e..a5b93598b3 100644 --- a/components/Shell.tsx +++ b/components/Shell.tsx @@ -1,8 +1,10 @@ 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); @@ -24,19 +26,19 @@ export default function Shell(props) {
- Dashboard + Dashboard - Bookings + Bookings - Availability + Availability - Integrations + Integrations - Team + Team