Skip to content

Fix: Bridge Playground Chain Input Form #7371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2025
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/twelve-brooms-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"thirdweb": patch
---

Fix typo in payment confirmation widget
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function LeftSection(props: {
<Label htmlFor="fund-wallet-chain-id">Chain ID</Label>
<Input
id="fund-wallet-chain-id"
type="number"
type="text"
placeholder="1 (Ethereum)"
className="bg-card"
value={payOptions.buyTokenChain?.id || ""}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
label: string;
chain: ChainMetadata;
destinationToken?: Token;
destinationChain?: ChainMetadata;
originToken?: Token;
originChain?: ChainMetadata;
amountPaid?: string;
Expand Down Expand Up @@ -102,6 +103,7 @@
originToken: status.originToken,
originChain,
destinationToken: status.destinationToken,
destinationChain,

Check warning on line 106 in packages/thirdweb/src/react/web/ui/Bridge/payment-success/PaymentReceipt.tsx

View check run for this annotation

Codecov / codecov/patch

packages/thirdweb/src/react/web/ui/Bridge/payment-success/PaymentReceipt.tsx#L106

Added line #L106 was not covered by tests
amountReceived: `${formatTokenAmount(
status.destinationAmount,
status.destinationToken.decimals,
Expand Down Expand Up @@ -228,7 +230,7 @@
Origin Chain
</Text>
<Text size="sm" color="primaryText">
{shorterChainName(txInfo.chain.name)}
{shorterChainName(txInfo.originChain.name)}

Check warning on line 233 in packages/thirdweb/src/react/web/ui/Bridge/payment-success/PaymentReceipt.tsx

View check run for this annotation

Codecov / codecov/patch

packages/thirdweb/src/react/web/ui/Bridge/payment-success/PaymentReceipt.tsx#L233

Added line #L233 was not covered by tests
</Text>
</Container>
)}
Expand Down
Loading