From bf157687d4ae4c71ba4ceca3dcda8aaec62da9b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Wed, 11 Mar 2026 15:33:38 -0300 Subject: [PATCH] fix: resolve race conditions during impersonation handoff by reloading directly from dataService --- components/Layout.tsx | 5 +---- pages/SuperAdmin.tsx | 3 --- services/dataService.ts | 7 +++++++ 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/components/Layout.tsx b/components/Layout.tsx index 5382c88..9aa626d 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -216,10 +216,7 @@ export const Layout: React.FC<{ children: React.ReactNode }> = ({ children }) => {localStorage.getItem('ctms_super_admin_token') && (