mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
Merge pull request #7093 from BlueWallet/balancde
FIX: Total balance view would not update on currency change
This commit is contained in:
commit
a91b780f68
@ -37,7 +37,8 @@ const TotalWalletsBalance: React.FC = () => {
|
||||
|
||||
const formattedBalance = useMemo(
|
||||
() => formatBalanceWithoutSuffix(Number(totalBalance), totalBalancePreferredUnit, true),
|
||||
[totalBalance, totalBalancePreferredUnit],
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
[totalBalance, totalBalancePreferredUnit, preferredFiatCurrency],
|
||||
);
|
||||
|
||||
const toolTipActions = useMemo(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user