10 lines
256 B
JavaScript
10 lines
256 B
JavaScript
|
import { connect } from 'react-redux';
|
||
|
import { doHideModal } from 'redux/actions/app';
|
||
|
import ModalRepost from './view';
|
||
|
|
||
|
const perform = dispatch => ({
|
||
|
closeModal: () => dispatch(doHideModal()),
|
||
|
});
|
||
|
|
||
|
export default connect(null, perform)(ModalRepost);
|