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