From 24e0fbd1006d956be9452762da5f53ab0e5be93e Mon Sep 17 00:00:00 2001 From: Sidney Gomes Date: Sat, 25 Jul 2026 21:49:53 -0300 Subject: [PATCH] Corrige posicionamento da modal de perfil do admin (removida de dentro da tag aside) --- src/components/AdminDashboard.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/AdminDashboard.tsx b/src/components/AdminDashboard.tsx index bfebfdd..71aec1f 100644 --- a/src/components/AdminDashboard.tsx +++ b/src/components/AdminDashboard.tsx @@ -520,12 +520,6 @@ export default function AdminDashboard({ token, adminUser, onLogout }: AdminDash )} - {/* Admin Profile Modal */} - setShowProfileModal(false)} - token={token} - /> {/* BACKGROUND SHADOW FOR MOBILE SIDEBAR */} @@ -1652,6 +1646,13 @@ export default function AdminDashboard({ token, adminUser, onLogout }: AdminDash )} + + {/* Admin Profile Modal */} + setShowProfileModal(false)} + token={token} + /> ); }