diff --git a/client/src/hooks/use-auth.tsx b/client/src/hooks/use-auth.tsx index bf6bcb0..5a76c75 100644 --- a/client/src/hooks/use-auth.tsx +++ b/client/src/hooks/use-auth.tsx @@ -124,19 +124,19 @@ export function AuthProvider({ children }: { children: ReactNode }) { }, }); + const authContextValue: AuthContextType = { + user: user ?? null, + isLoading, + error, + loginMutation, + ldapLoginMutation, + initiateOidcLogin, + logoutMutation, + registerMutation, + }; + return ( - + {children} );