aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-20 04:14:27 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-20 04:14:27 +0800
commit1880c7c27ddf3ba1b5e722f396126d5ff28e79a6 (patch)
treee89df87e1003500b0aead4af4ff33fbdb5f0f3a9 /packages
parent8772d916993d754f784d7435dbbfb60c9a6f9205 (diff)
downloaddexon-sol-tools-1880c7c27ddf3ba1b5e722f396126d5ff28e79a6.tar
dexon-sol-tools-1880c7c27ddf3ba1b5e722f396126d5ff28e79a6.tar.gz
dexon-sol-tools-1880c7c27ddf3ba1b5e722f396126d5ff28e79a6.tar.bz2
dexon-sol-tools-1880c7c27ddf3ba1b5e722f396126d5ff28e79a6.tar.lz
dexon-sol-tools-1880c7c27ddf3ba1b5e722f396126d5ff28e79a6.tar.xz
dexon-sol-tools-1880c7c27ddf3ba1b5e722f396126d5ff28e79a6.tar.zst
dexon-sol-tools-1880c7c27ddf3ba1b5e722f396126d5ff28e79a6.zip
Linting: rename variable
Diffstat (limited to 'packages')
-rw-r--r--packages/instant/src/redux/analytics_middleware.ts4
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;
}