Skip to content

Commit

Permalink
fix for reset balance
Browse files Browse the repository at this point in the history
  • Loading branch information
thisyahlen-deriv committed Sep 29, 2022
1 parent 96009ca commit f2eb128
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down

0 comments on commit f2eb128

Please sign in to comment.