PrivacyDropdown: clean up dispatch calls
This commit is contained in:
parent
136965acdd
commit
d243b53486
1 changed files with 4 additions and 1 deletions
|
@ -17,7 +17,10 @@ const mapDispatchToProps = dispatch => ({
|
||||||
|
|
||||||
isUserTouching,
|
isUserTouching,
|
||||||
onModalOpen: props => dispatch(openModal('ACTIONS', props)),
|
onModalOpen: props => dispatch(openModal('ACTIONS', props)),
|
||||||
onModalClose: () => (dispatch(closeModal()), dispatch(openModal('COMPOSE'))),
|
onModalClose: () => {
|
||||||
|
dispatch(closeModal());
|
||||||
|
dispatch(openModal('COMPOSE'));
|
||||||
|
},
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue