|
|
@ -349,6 +349,7 @@ class AccountDropdowns extends Component { |
|
|
|
{ |
|
|
|
{ |
|
|
|
closeMenu: () => {}, |
|
|
|
closeMenu: () => {}, |
|
|
|
onClick: () => { |
|
|
|
onClick: () => { |
|
|
|
|
|
|
|
actions.hideSidebar() |
|
|
|
actions.showAddTokenPage() |
|
|
|
actions.showAddTokenPage() |
|
|
|
}, |
|
|
|
}, |
|
|
|
style: Object.assign( |
|
|
|
style: Object.assign( |
|
|
@ -425,6 +426,7 @@ AccountDropdowns.propTypes = { |
|
|
|
const mapDispatchToProps = (dispatch) => { |
|
|
|
const mapDispatchToProps = (dispatch) => { |
|
|
|
return { |
|
|
|
return { |
|
|
|
actions: { |
|
|
|
actions: { |
|
|
|
|
|
|
|
hideSidebar: () => dispatch(actions.hideSidebar()), |
|
|
|
showConfigPage: () => dispatch(actions.showConfigPage()), |
|
|
|
showConfigPage: () => dispatch(actions.showConfigPage()), |
|
|
|
showAccountDetail: (address) => dispatch(actions.showAccountDetail(address)), |
|
|
|
showAccountDetail: (address) => dispatch(actions.showAccountDetail(address)), |
|
|
|
showAccountDetailModal: () => { |
|
|
|
showAccountDetailModal: () => { |
|
|
|