Reset newGroupName to null after creating new group (#4294)

This commit is contained in:
ShaunThayil 2022-10-18 12:52:07 +05:30 committed by GitHub
parent 91c4c5959d
commit b62d19c066
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,6 +73,7 @@ class ManageGroupPermissionsComponent extends React.Component {
this.setState({
creatingGroup: false,
showNewGroupForm: false,
newGroupName: null,
});
toast.success('Group has been created', {
position: 'top-center',