import type { FunctionComponent } from "react"; import { Link, Routes, useMutation, useRouter } from "blitz"; import clsx from "clsx"; import { IoChevronBack, IoLogOutOutline, IoNotificationsOutline, IoCardOutline, IoPersonCircleOutline, } from "react-icons/io5"; import Layout from "app/core/layouts/layout"; import logout from "app/auth/mutations/logout"; import Divider from "./divider"; const subNavigation = [ { name: "Account", href: Routes.Account(), icon: IoPersonCircleOutline }, { name: "Billing", href: Routes.Billing(), icon: IoCardOutline }, { name: "Notifications", href: Routes.Notifications(), icon: IoNotificationsOutline }, ]; const SettingsLayout: FunctionComponent = ({ children }) => { const router = useRouter(); const [logoutMutation] = useMutation(logout); return (
Back
{children}
); }; export default SettingsLayout;