1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/ui/selectors
Ariella Vu fa15b32fab
ConfirmAddSuggestToken: replace mapDispatchToProps & mapStateToProps; Add Tests (#13526)
* ConfirmAddSuggestedToken: component.js -> .js

* replace mapStateToProps w/ useSelector
ConfirmAddSuggestedToken

* replace mapDispatchToProps w/ useDispatch
ConfirmAddSuggestedToken

* ConfirmAddSuggestedToken: useHistory

* ConfirmAddSuggestedToken: revert scss
reuse ConfirmImportToken styles for now

* ConfirmAddSuggestToken: add tests

* ConfirmAddSuggestedToken: rm unused controls

* ConfirmAddSuggestedToken: rm snapshot

* use `metamark.svg` instead of `metamask.svg`

* ConfirmAddSuggestedToken: update useSelectors

* Revert "ConfirmAddSuggestedToken: revert scss"

This reverts commit 07aed4576caaf247cb38ad481d79a339ba3d3947.

* ConfirmAddSuggestedToken:  === undefined
w/ strict mode

* ConfirmAddSuggestedToken: use useNewMetricEvent

* ConfirmAddSuggestedToken: run useEffect once

* ConfirmAddSuggestedToken: rm unused async

* ConfirmAddSuggestedToken: rm mock redux store

* ConfirmAddSuggestedToken: duplicate ConfirmImportToken styles

* ConfirmAddSuggestedToken: update metrics logic

* ConfirmAddSuggestedToken: metricEvent-> trackEvent

* ConfirmAddSuggestedToken:clean useEffect w/ new fn
- PR suggestion: https://github.com/MetaMask/metamask-extension/pull/13526#discussion_r818007393

* ConfirmAddSuggestedToken: rm unused .token-balance styles
2022-03-10 23:40:06 -03:00
..
confirm-transaction.js extract determineTransactionType from tx controller (#13737) 2022-03-07 12:54:36 -06:00
confirm-transaction.test.js
custom-gas.js
custom-gas.test.js
first-time-flow.js
index.js Implement event fragments (#12251) 2022-01-12 13:31:54 -06:00
metametrics.js Implement event fragments (#12251) 2022-01-12 13:31:54 -06:00
metametrics.test.js Implement event fragments (#12251) 2022-01-12 13:31:54 -06:00
permissions.js Add Snaps via Flask (#13462) 2022-02-14 16:02:51 -08:00
permissions.test.js Handle missing eth_accounts permission history in getLastConnectedInfo (#13257) 2022-01-10 09:07:26 -08:00
selectors.js ConfirmAddSuggestToken: replace mapDispatchToProps & mapStateToProps; Add Tests (#13526) 2022-03-10 23:40:06 -03:00
selectors.test.js EIP-1559 V2: Use default gas preferences of user for all transactions (#13238) 2022-01-10 14:34:54 -05:00
transactions.js Add support for Smart Transactions (#12676) 2022-02-18 17:48:38 +01:00
transactions.test.js