Skip to content

Commit 14d92f2

Browse files
committed
fix: not found status
changeset
1 parent 0121ccd commit 14d92f2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/all-grapes-own.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Fix bug with PayEmbed incorrectly showing failed state

packages/thirdweb/src/react/web/ui/ConnectWallet/screens/Buy/fiat/OnRampScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,10 +583,10 @@ function useSwapStatus(props: {
583583
uiStatus = "completed";
584584
break;
585585
case "FAILED":
586-
case "NOT_FOUND":
587586
uiStatus = "failed";
588587
break;
589588
case "PENDING":
589+
case "NOT_FOUND":
590590
uiStatus = "pending";
591591
break;
592592
case "NONE":

0 commit comments

Comments
 (0)