edit integration

This commit is contained in:
2458773093
2019-08-23 02:05:20 +03:00
parent 2fdeccd1c6
commit e5a05a9210
4 changed files with 10 additions and 6 deletions

View File

@@ -12,6 +12,7 @@ import {
} from '../../../actions/compose';
const mapStateToProps = state => ({
edit: state.getIn(['compose', 'id']) !== null,
text: state.getIn(['compose', 'text']),
suggestions: state.getIn(['compose', 'suggestions']),
spoiler: state.getIn(['compose', 'spoiler']),