14 lines
351 B
JavaScript
14 lines
351 B
JavaScript
|
import { connect } from 'react-redux';
|
||
|
import { makeSelectPublishFormValue } from 'redux/selectors/publish';
|
||
|
import PublishPage from './view';
|
||
|
|
||
|
const select = state => ({
|
||
|
contentIsFree: makeSelectPublishFormValue('contentIsFree')(state),
|
||
|
fee: makeSelectPublishFormValue('fee')(state),
|
||
|
});
|
||
|
|
||
|
export default connect(
|
||
|
select,
|
||
|
null
|
||
|
)(PublishPage);
|