@saasquatch/mint-components 2.0.8-4 → 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.
@@ -3376,12 +3376,20 @@ function useDemoPayoutStatusAlert(props) {
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
3377
  console.log("the value of the status variable is", status);
3378
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);
3379
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
+ // },
3380
3388
  states: {
3381
- error: props.demoData.states.error || false,
3389
+ error: false,
3382
3390
  status: states.status,
3383
- loading: props.demoData.states.loading || false,
3384
- veriffLoading: props.demoData.states.veriffLoading || false,
3391
+ loading: false,
3392
+ veriffLoading: false,
3385
3393
  },
3386
3394
  data: { type: "SquatchAdmin" },
3387
3395
  text: props.getTextProps(),
@@ -1062,12 +1062,20 @@ function useDemoPayoutStatusAlert(props) {
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
1063
  console.log("the value of the status variable is", status);
1064
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);
1065
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
+ // },
1066
1074
  states: {
1067
- error: props.demoData.states.error || false,
1075
+ error: false,
1068
1076
  status: states.status,
1069
- loading: props.demoData.states.loading || false,
1070
- veriffLoading: props.demoData.states.veriffLoading || false,
1077
+ loading: false,
1078
+ veriffLoading: false,
1071
1079
  },
1072
1080
  data: { type: "SquatchAdmin" },
1073
1081
  text: props.getTextProps(),
@@ -3372,12 +3372,20 @@ function useDemoPayoutStatusAlert(props) {
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
3373
  console.log("the value of the status variable is", status);
3374
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);
3375
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
+ // },
3376
3384
  states: {
3377
- error: props.demoData.states.error || false,
3385
+ error: false,
3378
3386
  status: states.status,
3379
- loading: props.demoData.states.loading || false,
3380
- veriffLoading: props.demoData.states.veriffLoading || false,
3387
+ loading: false,
3388
+ veriffLoading: false,
3381
3389
  },
3382
3390
  data: { type: "SquatchAdmin" },
3383
3391
  text: props.getTextProps(),