From ecd44dc16de7be83ff4a971138eaa9550661dc8c Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 18 Mar 2025 19:41:59 +0100 Subject: [PATCH] Fix issue with router --- moneymgr_web/src/App.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/moneymgr_web/src/App.tsx b/moneymgr_web/src/App.tsx index cd616db..9233fd6 100644 --- a/moneymgr_web/src/App.tsx +++ b/moneymgr_web/src/App.tsx @@ -26,7 +26,10 @@ export function App() { const context: AuthContext = { signedIn: signedIn, - setSignedIn: (s) => setSignedIn(s), + setSignedIn: (s) => { + setSignedIn(s); + location.reload(); + }, }; const router = createBrowserRouter(