Remove title from Connected Sites modal (#8623)

feature/default_network_editable
Whymarrh Whitby 5 years ago committed by GitHub
parent 97d65b645a
commit 4ced792aec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      ui/app/pages/connected-sites/connected-sites.container.js

@ -18,7 +18,7 @@ import { DEFAULT_ROUTE } from '../../helpers/constants/routes'
const mapStateToProps = (state) => {
const { openMetaMaskTabs } = state.appState
const { title, id } = state.activeTab
const { id } = state.activeTab
const connectedDomains = getConnectedDomainsForSelectedAddress(state)
const originOfCurrentTab = getOriginOfCurrentTab(state)
const permittedAccountsByOrigin = getPermittedAccountsByOrigin(state)
@ -31,7 +31,6 @@ const mapStateToProps = (state) => {
let tabToConnect
if (originOfCurrentTab && currentTabHasNoAccounts && !openMetaMaskTabs[id]) {
tabToConnect = {
title,
origin: originOfCurrentTab,
}
}

Loading…
Cancel
Save