mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-13 19:16:52 +01:00
Update WalletTransactions.tsx
This commit is contained in:
parent
18c5e38d6c
commit
5c70faf17d
1 changed files with 1 additions and 1 deletions
|
@ -494,7 +494,7 @@ const WalletTransactions: React.FC<WalletTransactionsProps> = ({ route }) => {
|
|||
|
||||
const walletBalance = useMemo(() => {
|
||||
if (!wallet) return '';
|
||||
if (wallet.hideBalance) return '***';
|
||||
if (wallet.hideBalance) return '';
|
||||
if (isNaN(balance) || balance === 0) return '';
|
||||
return formatBalance(balance, wallet.preferredBalanceUnit, true);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
|
|
Loading…
Add table
Reference in a new issue