2017-12-21 22:08:54 +01:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import { doNavigate } from 'redux/actions/navigation';
|
2018-03-26 23:32:43 +02:00
|
|
|
import Button 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
|
|
|
});
|
|
|
|
|
2018-10-31 17:31:23 +01:00
|
|
|
export default connect(
|
|
|
|
null,
|
|
|
|
perform
|
|
|
|
)(Button);
|