@saasquatch/mint-components 1.16.0-6 → 1.16.0-7

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.
@@ -4467,6 +4467,10 @@ function useTaxAndCash() {
4467
4467
  setStep(currentStep);
4468
4468
  }
4469
4469
  }, [host, user, (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.email, errors]);
4470
+ stencilHooks_module.useEffect(() => {
4471
+ console.log("reset hash");
4472
+ window.location.hash = "";
4473
+ }, [setStep]);
4470
4474
  function getFinanceNetworkFilter() {
4471
4475
  var _a, _b, _c;
4472
4476
  if (step === "/1")
@@ -7984,6 +7988,8 @@ function useUserInfoForm(props) {
7984
7988
  postalCode: userData.postalCode,
7985
7989
  currency: userData.currency,
7986
7990
  });
7991
+ // reset redirect hash
7992
+ window.location.hash = "";
7987
7993
  const nextStep = context.overrideNextStep || "/2";
7988
7994
  setStep(nextStep);
7989
7995
  }
@@ -146,6 +146,10 @@ export function useTaxAndCash() {
146
146
  setStep(currentStep);
147
147
  }
148
148
  }, [host, user, (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.email, errors]);
149
+ useEffect(() => {
150
+ console.log("reset hash");
151
+ window.location.hash = "";
152
+ }, [setStep]);
149
153
  function getFinanceNetworkFilter() {
150
154
  var _a, _b, _c;
151
155
  if (step === "/1")
@@ -153,6 +153,8 @@ export function useUserInfoForm(props) {
153
153
  postalCode: userData.postalCode,
154
154
  currency: userData.currency,
155
155
  });
156
+ // reset redirect hash
157
+ window.location.hash = "";
156
158
  const nextStep = context.overrideNextStep || "/2";
157
159
  setStep(nextStep);
158
160
  }
@@ -4463,6 +4463,10 @@ function useTaxAndCash() {
4463
4463
  setStep(currentStep);
4464
4464
  }
4465
4465
  }, [host, user, (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.email, errors]);
4466
+ useEffect(() => {
4467
+ console.log("reset hash");
4468
+ window.location.hash = "";
4469
+ }, [setStep]);
4466
4470
  function getFinanceNetworkFilter() {
4467
4471
  var _a, _b, _c;
4468
4472
  if (step === "/1")
@@ -7980,6 +7984,8 @@ function useUserInfoForm(props) {
7980
7984
  postalCode: userData.postalCode,
7981
7985
  currency: userData.currency,
7982
7986
  });
7987
+ // reset redirect hash
7988
+ window.location.hash = "";
7983
7989
  const nextStep = context.overrideNextStep || "/2";
7984
7990
  setStep(nextStep);
7985
7991
  }