mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 04:06:54 +00:00
Update layout.tsx
This commit is contained in:
parent
83b9073faf
commit
3d29740857
@ -1,7 +1,7 @@
|
||||
import "./globals.css"
|
||||
import { Inter } from "next/font/google"
|
||||
import type { Metadata } from "next"
|
||||
import ClientLayout from "@/components/ClientLayout" // ✅ Import ClientLayout (Recommended)
|
||||
import ClientLayout from "@/components/ClientLayout"
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] })
|
||||
|
||||
@ -12,18 +12,13 @@ export const metadata: Metadata = {
|
||||
generator: "v0.dev",
|
||||
}
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html lang="en" className="dark">
|
||||
<body className={`${inter.className} bg-background text-foreground antialiased`}>
|
||||
<ClientLayout> {/* ✅ Now using ClientLayout */}
|
||||
{children}
|
||||
</ClientLayout>
|
||||
<ClientLayout>{children}</ClientLayout>
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user