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 ? ( ) : (