Skip to content

Commit

Permalink
code refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
thisyahlen-deriv committed Sep 29, 2022
1 parent 01be4ff commit 481831b
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 || account.balance > account_init_balance);
return account.is_virtual && account.balance !== account_init_balance;
};

const checkMultipleSvgAcc = () => {
Expand Down

0 comments on commit 481831b

Please sign in to comment.