lbry-desktop/ui/component/wunderbar/index.js
2020-12-11 14:37:06 -05:00

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);