1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/selectors
Mark Stacey 8225bbe126
Remove unused current view related things (#7843)
* Remove unused functions from `mapDispatchToProps`

The actions import was also updated to import only the two actions
used, rather than all actions.

* Remove unused container component

Well, technically it was the props injected by this container that were
unused. The container served no purpose, so the component it surrounded
is now used directly instead.

* Remove both unused `getCurrentViewContext` selectors

* Remove unused SHOW_CONFIG_PAGE action

* Remove checks for `currentView` with name `config`

Now that the SHOW_CONFIG_PAGE action has been removed, it's no longer
possible for `currentView.name` to be set to that value.

* Remove unused `wallet-view` container props

* Delete unused SHOW_SEND_PAGE and SHOW_ADD_TOKEN_PAGE actions

* Remove unused `account-menu.container` props

* Remove unused SHOW_INFO_PAGE action

* Remove unused SET_NEW_ACCOUNT_FORM action
2020-01-16 13:02:44 -04:00
..
tests Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
confirm-transaction.js Version 6.7.2 gas limit fix (#6786) 2019-07-04 14:14:03 -02:30
custom-gas.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
custom-gas.test.js Use AdvancedGasInputs in AdvancedTabContent (#7186) 2019-10-23 09:23:15 -03:00
selectors.js Remove unused current view related things (#7843) 2020-01-16 13:02:44 -04:00
tokens.js Show token amounts in TransactionListItem for token transfers 2018-08-23 16:45:27 -07:00
transactions.js Add Estimated time to pending tx (#6924) 2019-10-31 23:21:28 -02:30