Don't reenable the submit button after an error
This commit is contained in:
parent
d45b9d1ff5
commit
a303de95a4
|
@ -85,7 +85,6 @@ export default function TaskShow() {
|
|||
successCallback: processSubmitResult,
|
||||
failureCallback: (error: any) => {
|
||||
addError(error);
|
||||
setDisabled(false);
|
||||
},
|
||||
httpMethod: 'PUT',
|
||||
postBody: dataToSubmit,
|
||||
|
|
Loading…
Reference in New Issue