@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.
- package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +6 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +4 -0
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +2 -0
- package/dist/esm/sqm-banking-info-form_17.entry.js +6 -0
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-37996351.system.js +1 -1
- package/dist/mint-components/{p-5de8c966.system.entry.js → p-7812a317.system.entry.js} +1 -1
- package/dist/mint-components/{p-340c4ed9.entry.js → p-bf07feef.entry.js} +6 -6
- package/dist/types/global/android.d.ts +7 -0
- package/dist/types/global/demo.d.ts +2 -0
- package/dist/types/stories/features.d.ts +4 -0
- package/dist/types/stories/templates.d.ts +4 -0
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
|
@@ -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
|
}
|