lbry-desktop/ui/component/publishPrice/index.js
zeppi ee9f63a161 integrate all the things
bugfix

wip

flow

fix

cleaning

clean
2021-10-15 23:49:41 -04:00

16 lines
521 B
JavaScript

import { connect } from 'react-redux';
import { makeSelectPublishFormValue } from 'redux/selectors/publish';
import { doUpdatePublishForm } from 'redux/actions/publish';
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);