Skip to content

Commit

Permalink
overrideClassName
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAlec committed Aug 9, 2024
1 parent e074331 commit 4cb072c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/wallet/components/WalletDropdownFundLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function WalletDropdownFundLink({
window.open(fundingUrl, 'Coinbase Fund Wallet', windowFeatures);
};

const commonClassName = cn(
const overrideClassName = cn(
pressable.default,
'relative flex items-center px-4 py-3',
className,
Expand All @@ -56,7 +56,7 @@ export function WalletDropdownFundLink({
if (openIn === 'tab') {
return (
<a
className={commonClassName}
className={overrideClassName}
href={fundingUrl}
target={target}
rel={rel}
Expand All @@ -66,7 +66,7 @@ export function WalletDropdownFundLink({
);
}
return (
<button type="button" className={commonClassName} onClick={handleClick}>
<button type="button" className={overrideClassName} onClick={handleClick}>
{linkContent}
</button>
);
Expand Down

0 comments on commit 4cb072c

Please sign in to comment.