diff --git a/app/providers.tsx b/app/providers.tsx
index b0b3fa1..47b750c 100644
--- a/app/providers.tsx
+++ b/app/providers.tsx
@@ -5,21 +5,15 @@ import { AuthProvider } from "@/contexts/AuthContext";
import { ReactNode } from "react";
export function Providers({ children }: { children: ReactNode }) {
- const googleClientId = process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID || '';
+ // Use a dummy client ID if not provided to prevent context errors
+ // The actual authentication will still check for a valid ID
+ const googleClientId = process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID || 'dummy-client-id-not-configured';
- const content = (
-
- {children}
-
+ return (
+
+
+ {children}
+
+
);
-
- if (googleClientId) {
- return (
-
- {content}
-
- );
- }
-
- return content;
}