MCPcopy Create free account
hub / github.com/TheOrcDev/orcish-fullstack-admin / RootLayout

Function RootLayout

app/layout.tsx:21–46  ·  view source on GitHub ↗
({
  children,
}: Readonly<{
  children: React.ReactNode;
}>)

Source from the content-addressed store, hash-verified

19};
20
21export default function RootLayout({
22 children,
23}: Readonly<{
24 children: React.ReactNode;
25}>) {
26 return (
27 <html lang="en" suppressHydrationWarning>
28 <body
29 className={cn(
30 "min-h-screen bg-background font-sans antialiased",
31 fontSans.variable
32 )}
33 >
34 <ThemeProvider
35 attribute="class"
36 defaultTheme="system"
37 enableSystem
38 disableTransitionOnChange
39 >
40 <NuqsAdapter>{children}</NuqsAdapter>
41 {process.env.ENVIRONMENT === "development" && <ScreenSize />}
42 </ThemeProvider>
43 </body>
44 </html>
45 );
46}

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected