mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-26 23:13:29 +00:00
17 lines
486 B
JavaScript
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);
|