12 lines
290 B
JavaScript
12 lines
290 B
JavaScript
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);
|