From 4ced792aec41635e34022a6797a248b2a0da2752 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Tue, 19 May 2020 14:47:55 -0230 Subject: [PATCH] Remove title from Connected Sites modal (#8623) --- ui/app/pages/connected-sites/connected-sites.container.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/app/pages/connected-sites/connected-sites.container.js b/ui/app/pages/connected-sites/connected-sites.container.js index 258e59572..e09c39226 100644 --- a/ui/app/pages/connected-sites/connected-sites.container.js +++ b/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, } }