From f2eb128623c9261d048c28b29bda944faf552a32 Mon Sep 17 00:00:00 2001 From: Thisyahlen Date: Thu, 29 Sep 2022 09:32:28 +0800 Subject: [PATCH] fix for reset balance --- .../src/App/Containers/AccountSwitcher/account-switcher.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/App/Containers/AccountSwitcher/account-switcher.jsx b/packages/core/src/App/Containers/AccountSwitcher/account-switcher.jsx index 4002bd7d4288..6a51524cf44e 100644 --- a/packages/core/src/App/Containers/AccountSwitcher/account-switcher.jsx +++ b/packages/core/src/App/Containers/AccountSwitcher/account-switcher.jsx @@ -501,7 +501,7 @@ const AccountSwitcher = props => { const canResetBalance = account => { const account_init_balance = 10000; - return account.is_virtual && account.balance < account_init_balance; + return (account.is_virtual && account.balance < account_init_balance) || account.balance > account_init_balance; }; const checkMultipleSvgAcc = () => {