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

16 lines
474 B
JavaScript
Raw Normal View History

2017-06-06 23:19:12 +02:00
import React from "react";
import { connect } from "react-redux";
import { doNavigate } from "actions/navigation";
import { selectClaimedRewardsByTransactionId } from "selectors/rewards";
2017-06-06 23:19:12 +02:00
import TransactionList from "./view";
const select = state => ({
rewards: selectClaimedRewardsByTransactionId(state),
});
const perform = dispatch => ({
navigate: (path, params) => dispatch(doNavigate(path, params)),
});
2017-10-20 15:01:54 +02:00
export default connect(select, perform)(TransactionList);