Minor modals cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@ -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,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user