lbry-desktop/ui/component/publishAdditionalOptions/index.js
Sean Yesmunt 864d1546f8 cleanup
2019-12-19 13:34:05 -05:00

16 lines
382 B
JavaScript

import { connect } from 'react-redux';
import { selectPublishFormValues, doUpdatePublishForm } from 'lbry-redux';
import PublishPage from './view';
const select = state => ({
...selectPublishFormValues(state),
});
const perform = dispatch => ({
updatePublishForm: value => dispatch(doUpdatePublishForm(value)),
});
export default connect(
select,
perform
)(PublishPage);