1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 18:41:38 +01:00
metamask-extension/ui/app
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
..
components Remove unused index for dropdowns (#8615) 2020-05-18 19:14:40 -02:30
contexts Use createContext for metametrics context (preserve legacy context) (#8540) 2020-05-08 11:41:43 -05:00
css set home container height to auto (#8577) 2020-05-13 11:12:34 -05:00
ducks Add default values for preferences (#8584) 2020-05-13 11:53:00 -03:00
helpers Use activeTab.origin where possible (#8617) 2020-05-18 20:04:51 -02:30
hooks factor out containers for currency components (#8543) 2020-05-12 14:07:35 -05:00
pages Use activeTab.origin where possible (#8617) 2020-05-18 20:04:51 -02:30
selectors Use activeTab.origin where possible (#8617) 2020-05-18 20:04:51 -02:30
store Delete retryTransaction action and background (#8576) 2020-05-12 16:19:33 -07:00