lbry-desktop/ui/component/wunderbar/index.js
2021-06-18 15:46:51 -04:00

10 lines
353 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: (props) => dispatch(doOpenModal(MODALS.MOBILE_SEARCH, props)),
});
export default connect(null, perform)(Wunderbar);