1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00

Remove title from Connected Sites modal (#8623)

This commit is contained in:
Whymarrh Whitby 2020-05-19 14:47:55 -02:30 committed by GitHub
parent 97d65b645a
commit 4ced792aec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
}
}