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