Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/wicked-cycles-attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"thirdweb": patch
---

Displays the failure error messages on the BuyWidget
17 changes: 14 additions & 3 deletions packages/thirdweb/src/react/web/ui/Bridge/StepRunner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,20 @@ export function StepRunner({
</Container>

<Spacer y="md" />
<Text center color="secondaryText" size="xs" multiline>
Keep this window open until all
<br /> transactions are complete.
<Text
center
color={error ? "danger" : "secondaryText"}
size="xs"
multiline
>
{error ? (
error.message || "An error occurred. Please try again."
) : (
<>
Keep this window open until all
<br /> transactions are complete.
</>
)}
</Text>

<Spacer y="lg" />
Expand Down
Loading