File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
apps/playground-web/src/app/connect/pay/embed
packages/thirdweb/src/react/web/ui/Bridge/payment-success Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " thirdweb " : patch
3+ ---
4+
5+ Fix typo in payment confirmation widget
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ export function LeftSection(props: {
105105 < Label htmlFor = "fund-wallet-chain-id" > Chain ID</ Label >
106106 < Input
107107 id = "fund-wallet-chain-id"
108- type = "number "
108+ type = "text "
109109 placeholder = "1 (Ethereum)"
110110 className = "bg-card"
111111 value = { payOptions . buyTokenChain ?. id || "" }
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ interface TransactionInfo {
3333 label : string ;
3434 chain : ChainMetadata ;
3535 destinationToken ?: Token ;
36+ destinationChain ?: ChainMetadata ;
3637 originToken ?: Token ;
3738 originChain ?: ChainMetadata ;
3839 amountPaid ?: string ;
@@ -102,6 +103,7 @@ function useTransactionInfo(
102103 originToken : status . originToken ,
103104 originChain,
104105 destinationToken : status . destinationToken ,
106+ destinationChain,
105107 amountReceived : `${ formatTokenAmount (
106108 status . destinationAmount ,
107109 status . destinationToken . decimals ,
@@ -228,7 +230,7 @@ function CompletedStepDetailCard({
228230 Origin Chain
229231 </ Text >
230232 < Text size = "sm" color = "primaryText" >
231- { shorterChainName ( txInfo . chain . name ) }
233+ { shorterChainName ( txInfo . originChain . name ) }
232234 </ Text >
233235 </ Container >
234236 ) }
You can’t perform that action at this time.
0 commit comments