fix(layout): hide default dashboard

This commit is contained in:
2026-06-12 12:42:19 +08:00
parent bb7311589c
commit 757eea49de
4 changed files with 47 additions and 10 deletions
+2
View File
@@ -6,6 +6,7 @@ import authOptions from "@app/api/auth/[...nextauth]/options";
import { Header } from "@components/header";
import { Title } from "@components/title";
import { MapSkeleton } from "@components/loading/MapSkeleton";
import { AppSider } from "@components/sider/AppSider";
import { ThemedLayout } from "@refinedev/mui";
import { getServerSession } from "next-auth/next";
import { redirect } from "next/navigation";
@@ -35,6 +36,7 @@ export default async function MainLayout({
<ThemedLayout
Header={Header}
Title={Title}
Sider={AppSider}
childrenBoxProps={{
sx: { height: "100vh", p: 0 },
}}