fix(user): reset form values after submission
This commit is contained in:
parent
d610297f8c
commit
c106565c59
@ -30,6 +30,7 @@ const useSaveCurrentUserValues = () => {
|
|||||||
await api.resource('users').changePassword({
|
await api.resource('users').changePassword({
|
||||||
values: form.values,
|
values: form.values,
|
||||||
});
|
});
|
||||||
|
await form.reset();
|
||||||
setVisible(false);
|
setVisible(false);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user