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