Skip to content

Commit

Permalink
chore: use cursor-pointer style class where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
theborakompanioni committed Nov 4, 2023
1 parent c0cdf91 commit 5198e75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Balance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@ export default function Balance({

console.warn('<Balance /> component cannot determine balance format')
return <BalanceComponent symbol={<></>} value={valueString} symbolIsPrefix={false} />
}, [valueString, displayMode])
}, [valueString, displayMode, formatBtcProps])

if (!enableVisibilityToggle) {
return <>{balanceComponent}</>
} else {
return (
<span onClick={toggleVisibility} style={{ cursor: 'pointer' }}>
<span onClick={toggleVisibility} className="cursor-pointer">
{balanceComponent}
</span>
)
Expand Down
2 changes: 1 addition & 1 deletion src/components/MainWalletView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export default function MainWalletView({ wallet }: MainWalletViewProps) {
<WalletHeaderRescanning walletName={wallet.displayName} isLoading={isLoading} />
</rb.Row>
) : (
<rb.Row onClick={() => settingsDispatch({ showBalance: !settings.showBalance })} style={{ cursor: 'pointer' }}>
<rb.Row onClick={() => settingsDispatch({ showBalance: !settings.showBalance })} className="cursor-pointer">
{!currentWalletInfo || isLoading ? (
<WalletHeaderPlaceholder />
) : (
Expand Down

0 comments on commit 5198e75

Please sign in to comment.