1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +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 Adding edit navigation button flow back to send token flow (#11335) 2021-06-23 18:50:24 -05:00
custom-gas.js rely upon gas fee controller for gas price estimates (#11511) 2021-07-16 11:06:32 -05:00
custom-gas.test.js Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
first-time-flow.js Migrate completedOnboarding and firstTimeFlowType state into onboardingController (#12356) 2021-10-15 13:52:52 -05:00
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 remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00