mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-14 07:48:39 -05:00
fix user form non submission error
This commit is contained in:
@@ -9,6 +9,7 @@ function UserEdit({ user, history }) {
|
||||
const [formSubmitError, setFormSubmitError] = useState(null);
|
||||
|
||||
const handleSubmit = async values => {
|
||||
setFormSubmitError(null);
|
||||
try {
|
||||
await UsersAPI.update(user.id, values);
|
||||
history.push(`/users/${user.id}/details`);
|
||||
|
||||
Reference in New Issue
Block a user