Update fallback with linking methods
cgen-6eeb99414cd14ac899f76dd203b01fec
This commit is contained in:
parent
8d7f606225
commit
dd70e2130d
1 changed files with 11 additions and 0 deletions
|
|
@ -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 <AuthProvider>.",
|
||||
|
|
@ -73,6 +74,16 @@ const missingProviderFallback: AuthContextType = {
|
|||
"AuthProvider is not mounted. Please ensure your app is wrapped with <AuthProvider>.",
|
||||
);
|
||||
},
|
||||
linkProvider: async () => {
|
||||
throw new Error(
|
||||
"AuthProvider is not mounted. Please ensure your app is wrapped with <AuthProvider>.",
|
||||
);
|
||||
},
|
||||
unlinkProvider: async () => {
|
||||
throw new Error(
|
||||
"AuthProvider is not mounted. Please ensure your app is wrapped with <AuthProvider>.",
|
||||
);
|
||||
},
|
||||
signOut: async () => {
|
||||
throw new Error(
|
||||
"AuthProvider is not mounted. Please ensure your app is wrapped with <AuthProvider>.",
|
||||
|
|
|
|||
Loading…
Reference in a new issue