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:
parent
97d65b645a
commit
4ced792aec
@ -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…
Reference in New Issue
Block a user