File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @coinbase/onchainkit ' : patch
3
+ ---
4
+
5
+ *** fix*** : Update NFT Mint Button for easier styling. By @alessey #1807
Original file line number Diff line number Diff line change @@ -137,21 +137,20 @@ export function NFTMintButton({
137
137
138
138
if ( ! address ) {
139
139
return (
140
- < div className = { cn ( className ) } >
141
- < ConnectWallet className = "w-full" />
142
- </ div >
140
+ < ConnectWallet className = { cn ( "w-full" , className ) } />
143
141
) ;
144
142
}
145
143
146
144
return (
147
- < div className = { cn ( className ) } >
145
+ < >
148
146
< Transaction
149
147
isSponsored = { isSponsored }
150
148
chainId = { chainId }
151
149
calls = { callData }
152
150
onStatus = { handleOnStatus }
153
151
>
154
152
< TransactionButton
153
+ className = { className }
155
154
text = { transactionButtonLabel }
156
155
pendingOverride = { pendingOverride }
157
156
successOverride = { successOverride }
@@ -169,6 +168,6 @@ export function NFTMintButton({
169
168
{ mintError }
170
169
</ div >
171
170
) }
172
- </ div >
171
+ </ >
173
172
) ;
174
173
}
You can’t perform that action at this time.
0 commit comments