Linting: rename variable
This commit is contained in:
parent
8772d91699
commit
1880c7c27d
@ -11,8 +11,8 @@ import { Action, ActionTypes } from './actions';
|
||||
import { State } from './reducer';
|
||||
|
||||
const shouldTriggerWalletReady = (prevAccount: Account, curAccount: Account): boolean => {
|
||||
const justTurnedReady = curAccount.state === AccountState.Ready && prevAccount.state !== AccountState.Ready;
|
||||
if (justTurnedReady) {
|
||||
const didJustTurnReady = curAccount.state === AccountState.Ready && prevAccount.state !== AccountState.Ready;
|
||||
if (didJustTurnReady) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user