Corrige posicionamento da modal de perfil do admin (removida de dentro da tag aside)
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 59s Details

This commit is contained in:
Sidney Gomes 2026-07-25 21:49:53 -03:00
parent 5e4a341e47
commit 24e0fbd100
1 changed files with 7 additions and 6 deletions

View File

@ -520,12 +520,6 @@ export default function AdminDashboard({ token, adminUser, onLogout }: AdminDash
)}
</div>
{/* Admin Profile Modal */}
<AdminProfileModal
isOpen={showProfileModal}
onClose={() => setShowProfileModal(false)}
token={token}
/>
</aside>
{/* BACKGROUND SHADOW FOR MOBILE SIDEBAR */}
@ -1652,6 +1646,13 @@ export default function AdminDashboard({ token, adminUser, onLogout }: AdminDash
</div>
</div>
)}
{/* Admin Profile Modal */}
<AdminProfileModal
isOpen={showProfileModal}
onClose={() => setShowProfileModal(false)}
token={token}
/>
</div>
);
}