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

11 lines
292 B
JavaScript
Raw Normal View History

2017-06-06 23:19:12 +02:00
import React from "react";
import { connect } from "react-redux";
2017-08-30 19:57:42 +02:00
import { doNavigate } from "actions/navigation";
2017-06-06 23:19:12 +02:00
import Link from "./view";
2017-04-07 07:15:22 +02:00
2017-08-20 23:42:00 +02:00
const perform = dispatch => ({
2017-09-17 20:26:55 +02:00
doNavigate: (path, params) => dispatch(doNavigate(path, params)),
2017-08-20 23:42:00 +02:00
});
export default connect(null, perform)(Link);