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