This commit is contained in:
@@ -90,7 +90,7 @@ const UpdateUser: FC = () => {
|
|||||||
profilePic: admin.profilePic,
|
profilePic: admin.profilePic,
|
||||||
password: '',
|
password: '',
|
||||||
repeatPassword: '',
|
repeatPassword: '',
|
||||||
roleIds: admin.roles.map((role) => role.id),
|
roleIds: admin.roles.map((role: RoleItemType) => role.id),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
|||||||
Reference in New Issue
Block a user