1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/ui/pages/confirm-add-suggested-token
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-add-suggested-token.js ConfirmAddSuggestToken: replace mapDispatchToProps & mapStateToProps; Add Tests (#13526) 2022-03-10 23:40:06 -03:00
confirm-add-suggested-token.stories.js ConfirmAddSuggestToken: replace mapDispatchToProps & mapStateToProps; Add Tests (#13526) 2022-03-10 23:40:06 -03:00
confirm-add-suggested-token.test.js ConfirmAddSuggestToken: replace mapDispatchToProps & mapStateToProps; Add Tests (#13526) 2022-03-10 23:40:06 -03:00
index.js ConfirmAddSuggestToken: replace mapDispatchToProps & mapStateToProps; Add Tests (#13526) 2022-03-10 23:40:06 -03:00
index.scss ConfirmAddSuggestToken: replace mapDispatchToProps & mapStateToProps; Add Tests (#13526) 2022-03-10 23:40:06 -03:00