fix(webapp): remove duplicated form submitting

This commit is contained in:
Ahmed Bouhuolia
2023-06-12 18:47:28 +02:00
parent 35ebb9c2aa
commit ff2b7563c8
11 changed files with 13 additions and 215 deletions

View File

@@ -32,7 +32,6 @@ export default function VendorFloatingActions({ onCancel }) {
// Handle the submit button.
const handleSubmitBtnClick = (event) => {
setSubmitPayload({ noRedirect: false });
submitForm();
};
// Handle the submit & new button click.