bug fixed : state is not changing on clicking cancel button in the new user form (#4089)

* bug fixed : state not changing on clicking cancel button in the new user form

* making fields empty when clicked on cancel
This commit is contained in:
Manish Kushare 2022-09-27 16:23:28 +05:30 committed by GitHub
parent 63052076f2
commit e7553cd411
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -298,6 +298,8 @@ class ManageOrgUsersComponent extends React.Component {
this.setState({
showNewUserForm: false,
newUser: {},
errors: {},
fields: {},
})
}
data-cy="cancel-button"