Files
admin 1d868d10b3
CI / CD Pipeline / build (push) Successful in 28m24s
CI / CD Pipeline / deploy (push) Failing after 16m23s
690401:1326 fix secutities uuid
2026-04-01 13:26:19 +07:00

24 lines
422 B
TypeScript

'use client';
import { ThemeProvider as NextThemesProvider } from 'next-themes';
export default function ThemeProvider({
children,
nonce,
}: {
children: React.ReactNode;
nonce?: string;
}) {
return (
<NextThemesProvider
attribute="class"
defaultTheme="dark"
enableSystem={false}
themes={['light', 'dark']}
nonce={nonce}
>
{children}
</NextThemesProvider>
);
}