lbry-desktop/src/renderer/component/externalLink/index.js

16 lines
424 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import { doNotify } from 'lbry-redux';
import { doNavigate } from 'redux/actions/navigation';
import ExternalLink from './view';
const select = () => ({});
const perform = dispatch => ({
navigate: (path, params) => dispatch(doNavigate(path, params)),
openModal: (modal, props) => dispatch(doNotify(modal, props)),
});
2018-10-31 17:37:06 +01:00
export default connect(
select,
perform
)(ExternalLink);