Fleet UI: Transition fixed to edit user modal (#11128)

This commit is contained in:
RachelElysia 2023-04-11 11:45:26 -04:00 committed by GitHub
parent 5176e86e26
commit 8ae9738dc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 23 deletions

View File

@ -0,0 +1 @@
- Fleet UI: Fix animation for opening edit user modal

View File

@ -432,8 +432,6 @@ const UsersTable = ({ router }: IUsersTableProps): JSX.Element => {
const userData = getUser(userEditing.type, userEditing.id); const userData = getUser(userEditing.type, userEditing.id);
return ( return (
<Modal title="Edit user" onExit={toggleEditUserModal}>
<>
<EditUserModal <EditUserModal
defaultEmail={userData?.email} defaultEmail={userData?.email}
defaultName={userData?.name} defaultName={userData?.name}
@ -453,8 +451,6 @@ const UsersTable = ({ router }: IUsersTableProps): JSX.Element => {
editUserErrors={editUserErrors} editUserErrors={editUserErrors}
isUpdatingUsers={isUpdatingUsers} isUpdatingUsers={isUpdatingUsers}
/> />
</>
</Modal>
); );
}; };