690401:1326 fix secutities uuid
CI / CD Pipeline / build (push) Successful in 28m24s
CI / CD Pipeline / deploy (push) Failing after 16m23s

This commit is contained in:
2026-04-01 13:26:19 +07:00
parent 83b04773f7
commit 1d868d10b3
17 changed files with 105 additions and 185 deletions
+8 -2
View File
@@ -4,9 +4,15 @@
import { SessionProvider as NextAuthSessionProvider } from 'next-auth/react';
import { AuthSync } from '@/components/auth/auth-sync';
export default function SessionProvider({ children }: { children: React.ReactNode }) {
export default function SessionProvider({
children,
nonce,
}: {
children: React.ReactNode;
nonce?: string;
}) {
return (
<NextAuthSessionProvider>
<NextAuthSessionProvider nonce={nonce}>
<AuthSync />
{children}
</NextAuthSessionProvider>
+3
View File
@@ -4,8 +4,10 @@ import { ThemeProvider as NextThemesProvider } from 'next-themes';
export default function ThemeProvider({
children,
nonce,
}: {
children: React.ReactNode;
nonce?: string;
}) {
return (
<NextThemesProvider
@@ -13,6 +15,7 @@ export default function ThemeProvider({
defaultTheme="dark"
enableSystem={false}
themes={['light', 'dark']}
nonce={nonce}
>
{children}
</NextThemesProvider>