lbry-desktop/ui/component/wunderbar/index.js

11 lines
353 B
JavaScript
Raw Permalink Normal View History

2020-12-11 19:33:27 +01:00
import * as MODALS from 'constants/modal_types';
import { connect } from 'react-redux';
2020-12-11 19:33:27 +01:00
import { doOpenModal } from 'redux/actions/app';
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);