1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 16:18:07 +01:00
metamask-extension/ui/app/helpers
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
..
constants Add Connected Accounts modal (#8313) 2020-05-15 15:53:52 -03:00
higher-order-components Use createContext for metametrics context (preserve legacy context) (#8540) 2020-05-08 11:41:43 -05:00
utils Use activeTab.origin where possible (#8617) 2020-05-18 20:04:51 -02:30