Skip to content

Commit

Permalink
fix: mint button styling updates
Browse files Browse the repository at this point in the history
  • Loading branch information
alessey committed Jan 13, 2025
1 parent a4b68e7 commit 2625035
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/ui/react/nft/mint/NFTMintButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,21 +137,20 @@ export function NFTMintButton({

if (!address) {
return (
<div className={cn(className)}>
<ConnectWallet className="w-full" />
</div>
<ConnectWallet className={cn("w-full", className)} />
);
}

return (
<div className={cn(className)}>
<>
<Transaction
isSponsored={isSponsored}
chainId={chainId}
calls={callData}
onStatus={handleOnStatus}
>
<TransactionButton
className={className}
text={transactionButtonLabel}
pendingOverride={pendingOverride}
successOverride={successOverride}
Expand All @@ -169,6 +168,6 @@ export function NFTMintButton({
{mintError}
</div>
)}
</div>
</>
);
}

0 comments on commit 2625035

Please sign in to comment.