diff options
author | Mark Stacey <markjstacey@gmail.com> | 2019-07-12 23:41:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-12 23:41:39 +0800 |
commit | 2eea38868081d5e1d87b70712253cceb750f2011 (patch) | |
tree | 9364fe770c15f45ae6b9d51a8ae299eba2b74fab /ui/app/pages/home/home.container.js | |
parent | 830c801ec39ee5dc878b1a08d7241d96bba0b6d6 (diff) | |
download | tangerine-wallet-browser-2eea38868081d5e1d87b70712253cceb750f2011.tar.gz tangerine-wallet-browser-2eea38868081d5e1d87b70712253cceb750f2011.tar.zst tangerine-wallet-browser-2eea38868081d5e1d87b70712253cceb750f2011.zip |
Remove unused expressions (#6839)
Unused expressions are generally a mistake, as they don't do anything.
The exceptions to this rule (short-circuit expressions and ternary
expressions) have been allowed.
The `webrtc-adapter` was previously ignored by eslint because it has a
side-effect upon being imported. I removed the local variable instead,
which should preserve the same side-effect without making eslint
complain.
Diffstat (limited to 'ui/app/pages/home/home.container.js')
-rw-r--r-- | ui/app/pages/home/home.container.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/pages/home/home.container.js b/ui/app/pages/home/home.container.js index d0a5d7b47..7508654dc 100644 --- a/ui/app/pages/home/home.container.js +++ b/ui/app/pages/home/home.container.js @@ -3,7 +3,7 @@ import { compose } from 'recompose' import { connect } from 'react-redux' import { withRouter } from 'react-router-dom' import { unconfirmedTransactionsCountSelector } from '../../selectors/confirm-transaction' -`` + const mapStateToProps = state => { const { metamask, appState } = state const { |