@saasquatch/mint-components 1.14.6-13 → 1.14.6-14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1403,10 +1403,10 @@ function useLeadForm(props) {
1403
1403
  error: "",
1404
1404
  validationErrors: {},
1405
1405
  });
1406
+ setSuccess(false);
1406
1407
  (_b = (_a = formRef.current) === null || _a === void 0 ? void 0 : _a.getFormControls()) === null || _b === void 0 ? void 0 : _b.forEach((c) => {
1407
1408
  c.value = "";
1408
1409
  });
1409
- setSuccess(false);
1410
1410
  }
1411
1411
  let errorMessage = "";
1412
1412
  if ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"]) {
@@ -114,10 +114,10 @@ export function useLeadForm(props) {
114
114
  error: "",
115
115
  validationErrors: {},
116
116
  });
117
+ setSuccess(false);
117
118
  (_b = (_a = formRef.current) === null || _a === void 0 ? void 0 : _a.getFormControls()) === null || _b === void 0 ? void 0 : _b.forEach((c) => {
118
119
  c.value = "";
119
120
  });
120
- setSuccess(false);
121
121
  }
122
122
  let errorMessage = "";
123
123
  if ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"]) {
@@ -1399,10 +1399,10 @@ function useLeadForm(props) {
1399
1399
  error: "",
1400
1400
  validationErrors: {},
1401
1401
  });
1402
+ setSuccess(false);
1402
1403
  (_b = (_a = formRef.current) === null || _a === void 0 ? void 0 : _a.getFormControls()) === null || _b === void 0 ? void 0 : _b.forEach((c) => {
1403
1404
  c.value = "";
1404
1405
  });
1405
- setSuccess(false);
1406
1406
  }
1407
1407
  let errorMessage = "";
1408
1408
  if ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"]) {