Fix issue with login page
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pierre HUBERT 2025-03-28 15:34:49 +01:00
parent 4f75833414
commit 0e79202c77

View File

@ -59,7 +59,10 @@ export function App(): React.ReactElement {
const context: AuthContext = { const context: AuthContext = {
signedIn: signedIn, signedIn: signedIn,
setSignedIn: (s) => setSignedIn(s), setSignedIn: (s) => {
location.reload();
setSignedIn(s);
},
}; };
const router = createBrowserRouter( const router = createBrowserRouter(