diff --git a/apps/website/src/app/layout.tsx b/apps/website/src/app/layout.tsx index f49f750a9175..1cfc15f9d21a 100644 --- a/apps/website/src/app/layout.tsx +++ b/apps/website/src/app/layout.tsx @@ -1,6 +1,5 @@ -// import { ServerThemeProvider } from 'next-themes'; +import { ServerThemeProvider } from 'next-themes'; import type { PropsWithChildren } from 'react'; -import { Providers } from './providers'; import '@unocss/reset/tailwind.css'; import '../styles/inter.css'; @@ -10,21 +9,19 @@ import '../styles/main.css'; export default function RootLayout({ children }: PropsWithChildren) { return ( - // - - - - {children} - - - // + + + + {children} + + ); } diff --git a/apps/website/src/app/providers.tsx b/apps/website/src/app/providers.tsx deleted file mode 100644 index c94a818c07b9..000000000000 --- a/apps/website/src/app/providers.tsx +++ /dev/null @@ -1,20 +0,0 @@ -'use client'; - -import { ThemeProvider } from 'next-themes'; -import type { PropsWithChildren } from 'react'; - -export function Providers({ children }: PropsWithChildren) { - return ( - - {children} - - ); -}