2017-06-06 23:19:12 +02:00
|
|
|
import React from "react";
|
|
|
|
import { connect } from "react-redux";
|
2017-09-04 19:35:41 +02:00
|
|
|
import { doNavigate } from "actions/navigation";
|
2017-09-18 02:52:57 +02:00
|
|
|
import { selectClaimedRewardsByTransactionId } from "selectors/rewards";
|
2017-06-06 23:19:12 +02:00
|
|
|
import TransactionList from "./view";
|
2017-05-11 02:59:47 +02:00
|
|
|
|
2017-09-18 02:52:57 +02:00
|
|
|
const select = state => ({
|
|
|
|
rewards: selectClaimedRewardsByTransactionId(state),
|
|
|
|
});
|
|
|
|
|
2017-09-04 19:35:41 +02:00
|
|
|
const perform = dispatch => ({
|
|
|
|
navigate: (path, params) => dispatch(doNavigate(path, params)),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(null, perform)(TransactionList);
|