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

11 lines
312 B
JavaScript
Raw Permalink Normal View History

import { connect } from 'react-redux';
import { doOpenModal } from 'redux/actions/app';
import MarkdownLink from './view';
const select = () => ({});
const perform = (dispatch) => ({
openModal: (modal, props) => dispatch(doOpenModal(modal, props)),
});
export default connect(select, perform)(MarkdownLink);