Don't reenable the submit button after an error

This commit is contained in:
Dan 2023-03-08 14:41:12 -05:00
parent f990f68b03
commit aae54e2875

View File

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