Don't reenable the submit button after an error

This commit is contained in:
Dan 2023-03-08 14:41:12 -05:00
parent d45b9d1ff5
commit a303de95a4
1 changed files with 1 additions and 2 deletions

View File

@ -85,7 +85,6 @@ export default function TaskShow() {
successCallback: processSubmitResult, successCallback: processSubmitResult,
failureCallback: (error: any) => { failureCallback: (error: any) => {
addError(error); addError(error);
setDisabled(false);
}, },
httpMethod: 'PUT', httpMethod: 'PUT',
postBody: dataToSubmit, postBody: dataToSubmit,