lbry-desktop/ui/modal/modalFileSelection/index.js

13 lines
411 B
JavaScript
Raw Permalink Normal View History

import { connect } from 'react-redux';
import { doHideModal } from 'redux/actions/app';
import { doUpdatePublishForm } from 'redux/actions/publish';
import ModaFileSelection from './view';
const perform = (dispatch) => ({
hideModal: (props) => dispatch(doHideModal(props)),
updatePublishForm: (value) => dispatch(doUpdatePublishForm(value)),
});
export default connect(null, perform)(ModaFileSelection);