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: {
105
105
< Label htmlFor = "fund-wallet-chain-id" > Chain ID</ Label >
106
106
< Input
107
107
id = "fund-wallet-chain-id"
108
- type = "number "
108
+ type = "text "
109
109
placeholder = "1 (Ethereum)"
110
110
className = "bg-card"
111
111
value = { payOptions . buyTokenChain ?. id || "" }
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ interface TransactionInfo {
33
33
label : string ;
34
34
chain : ChainMetadata ;
35
35
destinationToken ?: Token ;
36
+ destinationChain ?: ChainMetadata ;
36
37
originToken ?: Token ;
37
38
originChain ?: ChainMetadata ;
38
39
amountPaid ?: string ;
@@ -102,6 +103,7 @@ function useTransactionInfo(
102
103
originToken : status . originToken ,
103
104
originChain,
104
105
destinationToken : status . destinationToken ,
106
+ destinationChain,
105
107
amountReceived : `${ formatTokenAmount (
106
108
status . destinationAmount ,
107
109
status . destinationToken . decimals ,
@@ -228,7 +230,7 @@ function CompletedStepDetailCard({
228
230
Origin Chain
229
231
</ Text >
230
232
< Text size = "sm" color = "primaryText" >
231
- { shorterChainName ( txInfo . chain . name ) }
233
+ { shorterChainName ( txInfo . originChain . name ) }
232
234
</ Text >
233
235
</ Container >
234
236
) }
You can’t perform that action at this time.
0 commit comments