Reload page when signedIn state change
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pierre HUBERT 2025-03-28 13:10:47 +01:00
parent f5202f596d
commit c2e6105aff

View File

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