690402:1503 Fix Property 'nonce' does not exist
CI / CD Pipeline / build (push) Successful in 5m12s
CI / CD Pipeline / deploy (push) Successful in 5m26s

This commit is contained in:
Nattanin
2026-04-02 15:03:05 +07:00
parent 9e40fcc118
commit 92a9b6898b
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ export default async function RootLayout({ children }: RootLayoutProps) {
<html lang="en" suppressHydrationWarning>
<head />
<body className={cn('min-h-screen bg-background font-sans antialiased', inter.className)}>
<SessionProvider nonce={nonce}>
<SessionProvider>
<ThemeProvider nonce={nonce}>
<QueryProvider>
{children}
+1 -3
View File
@@ -6,13 +6,11 @@ import { AuthSync } from '@/components/auth/auth-sync';
export default function SessionProvider({
children,
nonce,
}: {
children: React.ReactNode;
nonce?: string;
}) {
return (
<NextAuthSessionProvider nonce={nonce}>
<NextAuthSessionProvider>
<AuthSync />
{children}
</NextAuthSessionProvider>