Remove unused container prop (#8076)

The `activeTab` prop being passed in from the container was never used.
feature/default_network_editable
Mark Stacey 5 years ago committed by GitHub
parent 6f47fece56
commit ef98e876a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      ui/app/pages/home/home.container.js

@ -15,7 +15,7 @@ import { getEnvironmentType } from '../../../../app/scripts/lib/util'
import { ENVIRONMENT_TYPE_POPUP } from '../../../../app/scripts/lib/enums' import { ENVIRONMENT_TYPE_POPUP } from '../../../../app/scripts/lib/enums'
const mapStateToProps = (state) => { const mapStateToProps = (state) => {
const { activeTab, metamask, appState } = state const { metamask, appState } = state
const { const {
suggestedTokens, suggestedTokens,
seedPhraseBackedUp, seedPhraseBackedUp,
@ -37,7 +37,6 @@ const mapStateToProps = (state) => {
forgottenPassword, forgottenPassword,
suggestedTokens, suggestedTokens,
unconfirmedTransactionsCount: unconfirmedTransactionsCountSelector(state), unconfirmedTransactionsCount: unconfirmedTransactionsCountSelector(state),
activeTab,
shouldShowSeedPhraseReminder: !seedPhraseBackedUp && (parseInt(accountBalance, 16) > 0 || tokens.length > 0), shouldShowSeedPhraseReminder: !seedPhraseBackedUp && (parseInt(accountBalance, 16) > 0 || tokens.length > 0),
isPopup, isPopup,
threeBoxSynced, threeBoxSynced,

Loading…
Cancel
Save