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

13 lines
290 B
JavaScript
Raw Normal View History

2019-05-12 16:51:22 +02:00
import { connect } from 'react-redux';
import { doHideModal } from 'redux/actions/app';
import ModalOpenExternalResource from './view';
const perform = dispatch => ({
closeModal: () => dispatch(doHideModal()),
});
export default connect(
null,
perform
)(ModalOpenExternalResource);