diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-23 07:25:23 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-23 07:25:23 +0800 |
commit | 9d69401041368ec5e3754f80d33fe69687c8e9cf (patch) | |
tree | 5deba15620fcd68932740793970503e315998bee /ui/app/components/dropdowns | |
parent | 18496ad8595acd9fa8ec333fcd73de1ddfb8d62a (diff) | |
download | tangerine-wallet-browser-9d69401041368ec5e3754f80d33fe69687c8e9cf.tar tangerine-wallet-browser-9d69401041368ec5e3754f80d33fe69687c8e9cf.tar.gz tangerine-wallet-browser-9d69401041368ec5e3754f80d33fe69687c8e9cf.tar.bz2 tangerine-wallet-browser-9d69401041368ec5e3754f80d33fe69687c8e9cf.tar.lz tangerine-wallet-browser-9d69401041368ec5e3754f80d33fe69687c8e9cf.tar.xz tangerine-wallet-browser-9d69401041368ec5e3754f80d33fe69687c8e9cf.tar.zst tangerine-wallet-browser-9d69401041368ec5e3754f80d33fe69687c8e9cf.zip |
Hook up showAddToken to dropdown menu item in account options dropdown
Diffstat (limited to 'ui/app/components/dropdowns')
-rw-r--r-- | ui/app/components/dropdowns/components/account-dropdowns.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/components/dropdowns/components/account-dropdowns.js b/ui/app/components/dropdowns/components/account-dropdowns.js index 2854ec95d..c340fdaed 100644 --- a/ui/app/components/dropdowns/components/account-dropdowns.js +++ b/ui/app/components/dropdowns/components/account-dropdowns.js @@ -308,7 +308,7 @@ class AccountDropdowns extends Component { { closeMenu: () => {}, onClick: () => { - // Add Token Scren + actions.showAddTokenPage() }, style: Object.assign( {}, @@ -403,6 +403,9 @@ const mapDispatchToProps = (dispatch) => { showNewAccountModal: () => { dispatch(actions.showModal({ name: 'NEW_ACCOUNT' })) }, + showAddTokenPage: () => { + dispatch(actions.showAddTokenPage()) + }, addNewAccount: () => dispatch(actions.addNewAccount()), showImportPage: () => dispatch(actions.showImportPage()), showQrView: (selected, identity) => dispatch(actions.showQrView(selected, identity)), |