2020-12-11 19:33:27 +01:00
|
|
|
import * as MODALS from 'constants/modal_types';
|
2017-12-21 22:08:54 +01:00
|
|
|
import { connect } from 'react-redux';
|
2020-12-11 19:33:27 +01:00
|
|
|
import { doOpenModal } from 'redux/actions/app';
|
2017-12-21 22:08:54 +01:00
|
|
|
import Wunderbar from './view';
|
2017-05-04 05:44:08 +02:00
|
|
|
|
2019-04-04 23:05:23 +02:00
|
|
|
const perform = (dispatch, ownProps) => ({
|
2020-12-11 19:33:27 +01:00
|
|
|
doOpenMobileSearch: () => dispatch(doOpenModal(MODALS.MOBILE_SEARCH)),
|
2017-06-06 06:21:55 +02:00
|
|
|
});
|
2017-05-04 05:44:08 +02:00
|
|
|
|
2020-12-11 19:33:27 +01:00
|
|
|
export default connect(null, perform)(Wunderbar);
|