lbry-desktop/src/ui/component/transactionListRecent/index.js
2019-06-17 16:32:38 -04:00

17 lines
486 B
JavaScript

import { connect } from 'react-redux';
import { doFetchTransactions, selectRecentTransactions, doFetchClaimListMine } from 'lbry-redux';
import TransactionListRecent from './view';
const select = state => ({
transactions: selectRecentTransactions(state),
});
const perform = dispatch => ({
fetchTransactions: () => dispatch(doFetchTransactions()),
fetchMyClaims: () => dispatch(doFetchClaimListMine()),
});
export default connect(
select,
perform
)(TransactionListRecent);