Minor modals cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
767c3dad7a
commit
5f73f96735
|
@ -28,7 +28,7 @@ const mapStateToProps = state => {
|
||||||
|
|
||||||
export default @connect(mapStateToProps)
|
export default @connect(mapStateToProps)
|
||||||
@injectIntl
|
@injectIntl
|
||||||
class EditProfile extends ImmutablePureComponent {
|
class BirthdayInput extends ImmutablePureComponent {
|
||||||
|
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
hint: PropTypes.node,
|
hint: PropTypes.node,
|
||||||
|
|
|
@ -19,8 +19,7 @@ const mapDispatchToProps = dispatch => ({
|
||||||
isUserTouching,
|
isUserTouching,
|
||||||
onModalOpen: props => dispatch(openModal('ACTIONS', props)),
|
onModalOpen: props => dispatch(openModal('ACTIONS', props)),
|
||||||
onModalClose: () => {
|
onModalClose: () => {
|
||||||
dispatch(closeModal());
|
dispatch(closeModal('ACTIONS'));
|
||||||
dispatch(openModal('COMPOSE'));
|
|
||||||
},
|
},
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -36,7 +36,6 @@ const makeMapStateToProps = () => {
|
||||||
return {
|
return {
|
||||||
mentions,
|
mentions,
|
||||||
author: status.getIn(['account', 'id']),
|
author: status.getIn(['account', 'id']),
|
||||||
// to: state.getIn(['compose', 'to']),
|
|
||||||
isReply: true,
|
isReply: true,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue