10 lines
341 B
JavaScript
10 lines
341 B
JavaScript
import * as MODALS from 'constants/modal_types';
|
|
import { connect } from 'react-redux';
|
|
import { doOpenModal } from 'redux/actions/app';
|
|
import Wunderbar from './view';
|
|
|
|
const perform = (dispatch, ownProps) => ({
|
|
doOpenMobileSearch: () => dispatch(doOpenModal(MODALS.MOBILE_SEARCH)),
|
|
});
|
|
|
|
export default connect(null, perform)(Wunderbar);
|