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

11 lines
310 B
JavaScript
Raw Normal View History

2021-08-16 12:11:25 +02:00
import { connect } from 'react-redux';
import { doOpenModal } from 'redux/actions/app';
import ExternalLink from './view';
const select = () => ({});
const perform = dispatch => ({
openModal: (modal, props) => dispatch(doOpenModal(modal, props)),
});
export default connect(select, perform)(ExternalLink);