@saasquatch/mint-components 2.0.8-3 → 2.0.8-5

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.
@@ -3374,13 +3374,22 @@ function useDemoPayoutStatusAlert(props) {
3374
3374
  ? { ...prev, ...states[key] }
3375
3375
  : { ...prev, [`${key}_stateController`]: states[key] }, {});
3376
3376
  const status = states.status ? states.status : (_b = (_a = props.demoData) === null || _a === void 0 ? void 0 : _a.states) === null || _b === void 0 ? void 0 : _b.status;
3377
- console.log("the value of status is", status);
3377
+ console.log("the value of the status variable is", status);
3378
+ console.log("the value of states.status is ", states.status);
3379
+ console.log("the value of states is ", states);
3380
+ console.log("the value of formatted states is ", formatted);
3378
3381
  return cjs.cjs({
3382
+ // states: {
3383
+ // error: props.demoData.states.error || false,
3384
+ // status: states.status,
3385
+ // loading: props.demoData.states.loading || false,
3386
+ // veriffLoading: props.demoData.states.veriffLoading || false,
3387
+ // },
3379
3388
  states: {
3380
- error: props.demoData.states.error || false,
3381
- status: status,
3382
- loading: props.demoData.states.loading || false,
3383
- veriffLoading: props.demoData.states.veriffLoading || false,
3389
+ error: false,
3390
+ status: states.status,
3391
+ loading: false,
3392
+ veriffLoading: false,
3384
3393
  },
3385
3394
  data: { type: "SquatchAdmin" },
3386
3395
  text: props.getTextProps(),
@@ -1060,13 +1060,22 @@ function useDemoPayoutStatusAlert(props) {
1060
1060
  ? { ...prev, ...states[key] }
1061
1061
  : { ...prev, [`${key}_stateController`]: states[key] }, {});
1062
1062
  const status = states.status ? states.status : (_b = (_a = props.demoData) === null || _a === void 0 ? void 0 : _a.states) === null || _b === void 0 ? void 0 : _b.status;
1063
- console.log("the value of status is", status);
1063
+ console.log("the value of the status variable is", status);
1064
+ console.log("the value of states.status is ", states.status);
1065
+ console.log("the value of states is ", states);
1066
+ console.log("the value of formatted states is ", formatted);
1064
1067
  return deepmerge({
1068
+ // states: {
1069
+ // error: props.demoData.states.error || false,
1070
+ // status: states.status,
1071
+ // loading: props.demoData.states.loading || false,
1072
+ // veriffLoading: props.demoData.states.veriffLoading || false,
1073
+ // },
1065
1074
  states: {
1066
- error: props.demoData.states.error || false,
1067
- status: status,
1068
- loading: props.demoData.states.loading || false,
1069
- veriffLoading: props.demoData.states.veriffLoading || false,
1075
+ error: false,
1076
+ status: states.status,
1077
+ loading: false,
1078
+ veriffLoading: false,
1070
1079
  },
1071
1080
  data: { type: "SquatchAdmin" },
1072
1081
  text: props.getTextProps(),
@@ -3370,13 +3370,22 @@ function useDemoPayoutStatusAlert(props) {
3370
3370
  ? { ...prev, ...states[key] }
3371
3371
  : { ...prev, [`${key}_stateController`]: states[key] }, {});
3372
3372
  const status = states.status ? states.status : (_b = (_a = props.demoData) === null || _a === void 0 ? void 0 : _a.states) === null || _b === void 0 ? void 0 : _b.status;
3373
- console.log("the value of status is", status);
3373
+ console.log("the value of the status variable is", status);
3374
+ console.log("the value of states.status is ", states.status);
3375
+ console.log("the value of states is ", states);
3376
+ console.log("the value of formatted states is ", formatted);
3374
3377
  return cjs({
3378
+ // states: {
3379
+ // error: props.demoData.states.error || false,
3380
+ // status: states.status,
3381
+ // loading: props.demoData.states.loading || false,
3382
+ // veriffLoading: props.demoData.states.veriffLoading || false,
3383
+ // },
3375
3384
  states: {
3376
- error: props.demoData.states.error || false,
3377
- status: status,
3378
- loading: props.demoData.states.loading || false,
3379
- veriffLoading: props.demoData.states.veriffLoading || false,
3385
+ error: false,
3386
+ status: states.status,
3387
+ loading: false,
3388
+ veriffLoading: false,
3380
3389
  },
3381
3390
  data: { type: "SquatchAdmin" },
3382
3391
  text: props.getTextProps(),