1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui
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
..
app Use activeTab.origin where possible (#8617) 2020-05-18 20:04:51 -02:30
lib fix: handle trailing / in block explorer URLs 2020-05-14 17:15:17 +08:00
index.js Add switch to connected account alert (#8532) 2020-05-12 10:01:52 -03:00