Skip to content

Commit aa8d70c

Browse files
authored
Merge pull request #474 from saasquatch/payout-status-alert-bug-fix
Fix payout status alert demo data bug
2 parents b594ad5 + 65e4839 commit aa8d70c

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

packages/mint-components/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.0.8] - 2025-01-06
11+
12+
- \<sqm-payout-status-alert>
13+
14+
- Fix value of status demo data for content editor testing
15+
1016
## [2.0.7] - 2025-12-09
1117

1218
- \<sqm-tax-and-cash-dashboard-view>

packages/mint-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@saasquatch/mint-components",
33
"title": "Mint Components",
4-
"version": "2.0.7",
4+
"version": "2.0.8",
55
"description": "A minimal design library with components for referral and loyalty experiences. Built with Shoelace components by Saasquatch.",
66
"icon": "https://res.cloudinary.com/saasquatch/image/upload/v1652219900/squatch-assets/For_Mint.svg",
77
"raisins": "docs/raisins.json",

packages/mint-components/src/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ export function PayoutStatusAlertView(props: PayoutStatusAlertViewProps) {
558558
}
559559

560560
const alertDetails = getAlert(states.status);
561+
561562
if (states.status === "DONE" || !alertDetails) {
562563
return <div></div>;
563564
}

packages/mint-components/src/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ function useDemoPayoutStatusAlert(
254254
{
255255
states: {
256256
error: false,
257-
status: props.demoData.states.status,
257+
status: states.status,
258258
loading: false,
259259
veriffLoading: false,
260260
},

0 commit comments

Comments
 (0)