Minor modals cleanup

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
improve-ci
marcin mikołajczak 2022-02-14 22:38:15 +01:00
rodzic 767c3dad7a
commit 5f73f96735
3 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -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,

Wyświetl plik

@ -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'));
}, },
}); });

Wyświetl plik

@ -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,
}; };
}; };