1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Remove unused container prop (#8076)

The `activeTab` prop being passed in from the container was never used.
This commit is contained in:
Mark Stacey 2020-02-20 11:52:10 -04:00 committed by GitHub
parent 6f47fece56
commit ef98e876a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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