({
children,
}: Readonly<{
children: React.ReactNode;
}>)
| 55 | }, |
| 56 | }; |
| 57 | |
| 58 | export default function RootLayout({ |
| 59 | children, |
| 60 | }: Readonly<{ |
| 61 | children: React.ReactNode; |
| 62 | }>) { |
| 63 | return ( |
| 64 | <html |
| 65 | lang="en" |
| 66 | className={`${nunitoSans.variable} ${islandMoments.variable}`} |
| 67 | suppressHydrationWarning |
| 68 | > |
| 69 | <body |
| 70 | className={`${geistSans.variable} ${geistMono.variable} antialiased`} |
| 71 | > |
| 72 | <NuqsAdapter> |
| 73 | <ThemeProvider |
| 74 | attribute="class" |
| 75 | defaultTheme="system" |
| 76 | enableSystem |
| 77 | disableTransitionOnChange |
| 78 | > |
| 79 | <Header /> |
| 80 | {children} |
| 81 | <Footer /> |
| 82 | <Analytics /> |
| 83 | <Toaster /> |
| 84 | </ThemeProvider> |
| 85 | </NuqsAdapter> |
| 86 | </body> |
| 87 | </html> |
| 88 | ); |
| 89 | } |
nothing calls this directly
no outgoing calls
no test coverage detected