Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
@ -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(closeModal('ACTIONS'));
dispatch(openModal('COMPOSE'));
},
});
@ -36,7 +36,6 @@ const makeMapStateToProps = () => {
return {
mentions,
author: status.getIn(['account', 'id']),
// to: state.getIn(['compose', 'to']),
isReply: true,
};