From dd70e2130dd0a3884c5ec7a21ed17c7b008d8f78 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 30 Sep 2025 08:29:14 +0000 Subject: [PATCH] Update fallback with linking methods cgen-6eeb99414cd14ac899f76dd203b01fec --- client/contexts/AuthContext.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/client/contexts/AuthContext.tsx b/client/contexts/AuthContext.tsx index 2f40df36..0c75d9a6 100644 --- a/client/contexts/AuthContext.tsx +++ b/client/contexts/AuthContext.tsx @@ -58,6 +58,7 @@ const missingProviderFallback: AuthContextType = { session: null, loading: true, profileComplete: false, + linkedProviders: [], signIn: async () => { throw new Error( "AuthProvider is not mounted. Please ensure your app is wrapped with .", @@ -73,6 +74,16 @@ const missingProviderFallback: AuthContextType = { "AuthProvider is not mounted. Please ensure your app is wrapped with .", ); }, + linkProvider: async () => { + throw new Error( + "AuthProvider is not mounted. Please ensure your app is wrapped with .", + ); + }, + unlinkProvider: async () => { + throw new Error( + "AuthProvider is not mounted. Please ensure your app is wrapped with .", + ); + }, signOut: async () => { throw new Error( "AuthProvider is not mounted. Please ensure your app is wrapped with .",