We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27e856a commit db5dbacCopy full SHA for db5dbac
src/containers/UserEdit.jsx
@@ -72,7 +72,10 @@ class UserEdit extends React.Component {
72
switch (this.props.authType) {
73
case UserEditMode.Edit: {
74
const result = await this.props.mutations.editUser(formData);
75
- this.setState({ user: result.data.editUser });
+ this.setState({
76
+ user: result.data.editUser,
77
+ snackbarOpen: true
78
+ });
79
if (this.props.onRequestClose) {
80
this.props.onRequestClose();
81
}
@@ -155,7 +158,6 @@ class UserEdit extends React.Component {
155
158
break;
156
159
157
160
- this.setState({ snackbarOpen: true });
161
};
162
163
handleClick = () => this.setState({ changePasswordDialog: true });
0 commit comments