refactor(admin): wrap profile page content in fragment
This commit is contained in:
@@ -138,6 +138,7 @@ const ProfilePage = ({ user: initialUser }) => {
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="flex flex-col gap-4 sm:gap-6 lg:gap-8">
|
||||
<AdminHeader title="Mon profil" description="Gérez les informations de votre compte" />
|
||||
|
||||
@@ -260,7 +261,6 @@ const ProfilePage = ({ user: initialUser }) => {
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Modal
|
||||
isOpen={emailModalOpen}
|
||||
onClose={() => { setEmailModalOpen(false); setEmailFormData({ newEmail: '', password: '' }); }}
|
||||
@@ -291,6 +291,7 @@ const ProfilePage = ({ user: initialUser }) => {
|
||||
/>
|
||||
</div>
|
||||
</Modal>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user