Skip to content

Commit 2a1f4be

Browse files
authored
Fix: Not Found Status should show Pending (#6578)
1 parent 0121ccd commit 2a1f4be

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Diff for: .changeset/all-grapes-own.md

+5
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

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

+1-1
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)