Update WalletTransactions.tsx

This commit is contained in:
Marcos Rodriguez Vélez 2025-02-02 18:20:57 -04:00 committed by GitHub
parent 18c5e38d6c
commit 5c70faf17d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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