@saasquatch/mint-components 2.0.2-17 → 2.0.2-18

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.
@@ -903,6 +903,7 @@ function useBankingInfoForm(props) {
903
903
  const paymentMethodChecked = !hasPayPal
904
904
  ? "toBankAccount"
905
905
  : _paymentMethodChecked;
906
+ console.log({ context });
906
907
  domContextHooks_module.useEffect(() => {
907
908
  // reset redirect hash
908
909
  if (window.location.hash !== "#4")
@@ -4396,12 +4397,12 @@ const useTaxAndCashDashboard = (props) => {
4396
4397
  // Clear override context once on submitted
4397
4398
  setContext({});
4398
4399
  if (window.location.hash) {
4400
+ setStep(`/${window.location.hash.replace("#", "")}`);
4399
4401
  setContext({
4400
4402
  overrideNextStep: "/dashboard",
4401
4403
  overrideBackStep: "/dashboard",
4402
4404
  hideSteps: true,
4403
4405
  });
4404
- setStep(`/${window.location.hash.replace("#", "")}`);
4405
4406
  }
4406
4407
  }, []);
4407
4408
  const { data, loading, errors: userError, refetch, } = index_module.$n(usePayoutStatus.USER_QUERY_NAMESPACE);
@@ -125,6 +125,7 @@ export function useBankingInfoForm(props) {
125
125
  const paymentMethodChecked = !hasPayPal
126
126
  ? "toBankAccount"
127
127
  : _paymentMethodChecked;
128
+ console.log({ context });
128
129
  useEffect(() => {
129
130
  // reset redirect hash
130
131
  if (window.location.hash !== "#4")
@@ -61,12 +61,12 @@ export const useTaxAndCashDashboard = (props) => {
61
61
  // Clear override context once on submitted
62
62
  setContext({});
63
63
  if (window.location.hash) {
64
+ setStep(`/${window.location.hash.replace("#", "")}`);
64
65
  setContext({
65
66
  overrideNextStep: "/dashboard",
66
67
  overrideBackStep: "/dashboard",
67
68
  hideSteps: true,
68
69
  });
69
- setStep(`/${window.location.hash.replace("#", "")}`);
70
70
  }
71
71
  }, []);
72
72
  const { data, loading, errors: userError, refetch, } = useParentQueryValue(USER_QUERY_NAMESPACE);
@@ -899,6 +899,7 @@ function useBankingInfoForm(props) {
899
899
  const paymentMethodChecked = !hasPayPal
900
900
  ? "toBankAccount"
901
901
  : _paymentMethodChecked;
902
+ console.log({ context });
902
903
  useEffect(() => {
903
904
  // reset redirect hash
904
905
  if (window.location.hash !== "#4")
@@ -4392,12 +4393,12 @@ const useTaxAndCashDashboard = (props) => {
4392
4393
  // Clear override context once on submitted
4393
4394
  setContext({});
4394
4395
  if (window.location.hash) {
4396
+ setStep(`/${window.location.hash.replace("#", "")}`);
4395
4397
  setContext({
4396
4398
  overrideNextStep: "/dashboard",
4397
4399
  overrideBackStep: "/dashboard",
4398
4400
  hideSteps: true,
4399
4401
  });
4400
- setStep(`/${window.location.hash.replace("#", "")}`);
4401
4402
  }
4402
4403
  }, []);
4403
4404
  const { data, loading, errors: userError, refetch, } = $n(USER_QUERY_NAMESPACE);