mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
17 lines
468 B
JavaScript
17 lines
468 B
JavaScript
import { connect } from 'react-redux';
|
|
import { makeSelectPublishFormValue, doUpdatePublishForm } from 'lbry-redux';
|
|
import PublishPage from './view';
|
|
|
|
const select = state => ({
|
|
contentIsFree: makeSelectPublishFormValue('contentIsFree')(state),
|
|
fee: makeSelectPublishFormValue('fee')(state),
|
|
});
|
|
|
|
const perform = dispatch => ({
|
|
updatePublishForm: values => dispatch(doUpdatePublishForm(values)),
|
|
});
|
|
|
|
export default connect(
|
|
select,
|
|
perform
|
|
)(PublishPage);
|