From 442da8be6d544346a1200207db280b228a15e023 Mon Sep 17 00:00:00 2001 From: G Date: Sun, 28 Apr 2024 00:08:52 +0000 Subject: [PATCH] use the state value for isAuthenticated --- src/contexts/UserAuthenticationContext.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/contexts/UserAuthenticationContext.tsx b/src/contexts/UserAuthenticationContext.tsx index 6b13e03..8387feb 100644 --- a/src/contexts/UserAuthenticationContext.tsx +++ b/src/contexts/UserAuthenticationContext.tsx @@ -14,7 +14,9 @@ export const UserAuthenticationContextProvider = ({ children }: { children: Reac const [isAuthenticated, setIsAuthenticated] = useState(false); return ( - + {children} ); -- libgit2 0.27.1