ee9f63a161
bugfix wip flow fix cleaning clean
14 lines
480 B
JavaScript
14 lines
480 B
JavaScript
import { connect } from 'react-redux';
|
|
import { makeSelectPublishFormValue } from 'redux/selectors/publish';
|
|
import { doUpdatePublishForm } from 'redux/actions/publish';
|
|
import PublishDescription from './view';
|
|
|
|
const select = (state) => ({
|
|
description: makeSelectPublishFormValue('description')(state),
|
|
});
|
|
|
|
const perform = (dispatch) => ({
|
|
updatePublishForm: (value) => dispatch(doUpdatePublishForm(value)),
|
|
});
|
|
|
|
export default connect(select, perform)(PublishDescription);
|