From 684b98bd0e3abb398a1f1d9f5df13363c2517e32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Wed, 11 Mar 2026 14:54:35 -0300 Subject: [PATCH] fix: resolve HashRouter reload issues during impersonation handoffs - Updated Layout and SuperAdmin to explicitly set window.location.hash before triggering window.location.reload() to guarantee correct routing after state resets. --- components/Layout.tsx | 3 ++- pages/SuperAdmin.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/Layout.tsx b/components/Layout.tsx index 8e1bc88..5382c88 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -217,7 +217,8 @@ export const Layout: React.FC<{ children: React.ReactNode }> = ({ children }) =>