超管后台 - 编辑管理员查看详情

This commit is contained in:
柳清爽
2025-04-10 09:30:16 +08:00
parent d33988aa4e
commit 3cf0ee2bcb
6 changed files with 231 additions and 135 deletions

View File

@@ -3,6 +3,7 @@ import type { Metadata } from "next"
import { Inter } from "next/font/google"
import "./globals.css"
import { ThemeProvider } from "@/components/theme-provider"
import { ToastProvider } from "@/components/ui/use-toast"
const inter = Inter({ subsets: ["latin"] })
@@ -21,7 +22,9 @@ export default function RootLayout({
<html lang="zh-CN" suppressHydrationWarning>
<body className={inter.className}>
<ThemeProvider attribute="class" defaultTheme="light" enableSystem disableTransitionOnChange>
{children}
<ToastProvider>
{children}
</ToastProvider>
</ThemeProvider>
</body>
</html>