2019-06-28 09:27:55 +02:00
|
|
|
import { connect } from 'react-redux';
|
2019-07-03 04:30:34 +02:00
|
|
|
import { makeSelectPublishFormValue, selectIsStillEditing } from 'lbry-redux';
|
2019-06-28 09:27:55 +02:00
|
|
|
import PublishPage from './view';
|
|
|
|
|
|
|
|
const select = state => ({
|
|
|
|
name: makeSelectPublishFormValue('name')(state),
|
|
|
|
title: makeSelectPublishFormValue('title')(state),
|
|
|
|
bid: makeSelectPublishFormValue('bid')(state),
|
|
|
|
editingUri: makeSelectPublishFormValue('editingUri')(state),
|
|
|
|
uploadThumbnailStatus: makeSelectPublishFormValue('uploadThumbnailStatus')(state),
|
|
|
|
isStillEditing: selectIsStillEditing(state),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(
|
|
|
|
select,
|
|
|
|
null
|
|
|
|
)(PublishPage);
|