revert: theme fix

This commit is contained in:
iCrawl
2022-11-30 04:41:07 +01:00
parent 2cb1000a3a
commit 72c30d1578
2 changed files with 15 additions and 38 deletions

View File

@@ -1,20 +0,0 @@
'use client';
import { ThemeProvider } from 'next-themes';
import type { PropsWithChildren } from 'react';
export function Providers({ children }: PropsWithChildren) {
return (
<ThemeProvider
attribute="class"
defaultTheme="system"
disableTransitionOnChange
value={{
light: 'light',
dark: 'dark',
}}
>
{children}
</ThemeProvider>
);
}