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)
|
||||
@injectIntl
|
||||
class EditProfile extends ImmutablePureComponent {
|
||||
class BirthdayInput extends ImmutablePureComponent {
|
||||
|
||||
static propTypes = {
|
||||
hint: PropTypes.node,
|
||||
|
|
|
@ -19,8 +19,7 @@ const mapDispatchToProps = dispatch => ({
|
|||
isUserTouching,
|
||||
onModalOpen: props => dispatch(openModal('ACTIONS', props)),
|
||||
onModalClose: () => {
|
||||
dispatch(closeModal());
|
||||
dispatch(openModal('COMPOSE'));
|
||||
dispatch(closeModal('ACTIONS'));
|
||||
},
|
||||
|
||||
});
|
||||
|
|
|
@ -36,7 +36,6 @@ const makeMapStateToProps = () => {
|
|||
return {
|
||||
mentions,
|
||||
author: status.getIn(['account', 'id']),
|
||||
// to: state.getIn(['compose', 'to']),
|
||||
isReply: true,
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue