madiator.com/ui/component/wunderbar/index.js

11 lines
341 B
JavaScript
Raw Normal View History

2021-08-16 12:11:25 +02:00
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);