lbry-desktop/src/ui/component/publishPrice/index.js

14 lines
351 B
JavaScript
Raw Normal View History

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);