This website requires JavaScript.
Explore
Help
Sign In
m
/
metamask-extension
Watch
1
Star
0
Fork
0
You've already forked metamask-extension
mirror of
https://github.com/kremalicious/metamask-extension.git
synced
2024-11-26 20:39:08 +01:00
Code
cedef121a3
metamask-extension
/
ui
/
pages
/
confirm-import-token
/
index.js
4 lines
93 B
JavaScript
Raw
Normal View
History
Unescape
Escape
ConfirmImportToken: Convert to Functional Component; Add storybook controls (#13594) * ConfirmImportToken: convert to FC * ConfirmImportToken: reorganize * ConfirmImportToken: rm component from path * replace mapStateToProps w/ useSelector ConfirmImportToken * replace mapDispatchToProps w/ useDispatch ConfirmImportToken * ConfirmAddSuggestedToken: useHistory * ConfirmImportToken: add storybook controls * ConfirmImportToken: rm 1st entry overwrite * ConfirmImportToken: add tests * ConfirmImportToken: use real Redux store in tests * ConfirmImportToken: do not use mock-state.json https://github.com/MetaMask/metamask-extension/pull/13594#discussion_r805022647 * ConfirmImportToken: tokenAddedEvent -> trackTokenAddedEvent * Update ui/pages/confirm-import-token/confirm-import-token.js Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com> * ConfirmImportToken: update useSelector logic * ConfirmImportToken: replace typeof check w/ === undefined * ConfirmImportToken: rm unnecessary /rendering from path * ConfirmImportToken: fix add token redirect * ConfirmImportToken: use useNewMetricEvent * ConfirmImportToken: rename vars using "addedToken" * ConfirmImportToken: setAddedToken to obj copy Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
2022-02-16 19:03:54 +01:00
import
ConfirmImportToken
from
'./confirm-import-token'
;
Adding fake token warning and replacing `Add Token` labels with `Import Tokens` (#11798)
2021-09-10 22:21:04 +02:00
export
default
ConfirmImportToken
;
Copy Permalink