Nvm ai sucks

This commit is contained in:
Anushlinux
2025-07-07 01:56:43 +05:30
parent 498dc5aa94
commit acde34a52b
3 changed files with 1247 additions and 100 deletions

View File

@@ -2,11 +2,14 @@
import * as React from 'react';
import { ThemeProvider as NextThemesProvider } from 'next-themes';
import { SessionProvider } from 'next-auth/react';
export function Providers({ children }: { children: React.ReactNode }) {
return (
<NextThemesProvider attribute="class" defaultTheme="system" enableSystem enableColorScheme>
{children}
</NextThemesProvider>
<SessionProvider>
<NextThemesProvider attribute="class" defaultTheme="system" enableSystem enableColorScheme>
{children}
</NextThemesProvider>
</SessionProvider>
);
}