diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-20 04:14:27 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-20 04:14:27 +0800 |
commit | 1880c7c27ddf3ba1b5e722f396126d5ff28e79a6 (patch) | |
tree | e89df87e1003500b0aead4af4ff33fbdb5f0f3a9 | |
parent | 8772d916993d754f784d7435dbbfb60c9a6f9205 (diff) | |
download | dexon-0x-contracts-1880c7c27ddf3ba1b5e722f396126d5ff28e79a6.tar.gz dexon-0x-contracts-1880c7c27ddf3ba1b5e722f396126d5ff28e79a6.tar.zst dexon-0x-contracts-1880c7c27ddf3ba1b5e722f396126d5ff28e79a6.zip |
Linting: rename variable
-rw-r--r-- | packages/instant/src/redux/analytics_middleware.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/redux/analytics_middleware.ts b/packages/instant/src/redux/analytics_middleware.ts index a86cf1b83..f971dbd33 100644 --- a/packages/instant/src/redux/analytics_middleware.ts +++ b/packages/instant/src/redux/analytics_middleware.ts @@ -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; } |