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) => ({
|
2021-06-16 04:27:58 +02:00
|
|
|
doOpenMobileSearch: (props) => dispatch(doOpenModal(MODALS.MOBILE_SEARCH, props)),
|
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);
|