1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/pages/connected-sites
Whymarrh Whitby 3244449ab9
Use activeTab.origin where possible (#8617)
This changeset updates the `getOriginOfCurrentTab` selector and the container
for the ConnectedSites page to use `activeTab.origin` instead of parsing the
URL. The `activeTab` URL is parsed in `queryCurrentActiveTab` before the UI is
launched and any subsequent parsing of the URL is unnecessary.

See `queryCurrentActiveTab` in `ui.js:86` [1].

  [1]:e7bb0876f5/app/scripts/ui.js (L86-L118)
2020-05-18 20:04:51 -02:30
..
connected-sites.component.js review fixup 2020-05-01 18:52:23 -07:00
connected-sites.container.js Use activeTab.origin where possible (#8617) 2020-05-18 20:04:51 -02:30
index.js Update Connected Sites modal design (#8262) 2020-03-31 19:40:02 -02:30
index.scss review fixup 2020-05-01 18:52:23 -07:00