2017-06-06 23:19:12 +02:00
|
|
|
import React from "react";
|
|
|
|
import { connect } from "react-redux";
|
2017-11-13 22:02:23 +01:00
|
|
|
import { doNavigate } from "redux/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);
|