From 5198e75c2678b4cdb8450e340a4c8a34472038f5 Mon Sep 17 00:00:00 2001 From: theborakompanioni Date: Sat, 4 Nov 2023 15:47:33 +0100 Subject: [PATCH] chore: use cursor-pointer style class where applicable --- src/components/Balance.tsx | 4 ++-- src/components/MainWalletView.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Balance.tsx b/src/components/Balance.tsx index eab57caa..f6cea199 100644 --- a/src/components/Balance.tsx +++ b/src/components/Balance.tsx @@ -129,13 +129,13 @@ export default function Balance({ console.warn(' component cannot determine balance format') return } value={valueString} symbolIsPrefix={false} /> - }, [valueString, displayMode]) + }, [valueString, displayMode, formatBtcProps]) if (!enableVisibilityToggle) { return <>{balanceComponent} } else { return ( - + {balanceComponent} ) diff --git a/src/components/MainWalletView.tsx b/src/components/MainWalletView.tsx index 7af7f68c..3e3f074e 100644 --- a/src/components/MainWalletView.tsx +++ b/src/components/MainWalletView.tsx @@ -149,7 +149,7 @@ export default function MainWalletView({ wallet }: MainWalletViewProps) { ) : ( - settingsDispatch({ showBalance: !settings.showBalance })} style={{ cursor: 'pointer' }}> + settingsDispatch({ showBalance: !settings.showBalance })} className="cursor-pointer"> {!currentWalletInfo || isLoading ? ( ) : (