bbf6696054
* fix linting for affirmPurchase modal * fix linting for confirmTransaction modal * fix linting for error modal * fix linting for filetimeout modal * fix linting for first transaction modal * fix linting for incompatible daemon modal * fix linting for external link modal * fix linting for remove file modal * fix linting for revoke claim modal * fix linting for reward approval modal * fix linting for send tip modal * fix linting for welcome modal * fix linting for page files
21 lines
503 B
JavaScript
21 lines
503 B
JavaScript
import { connect } from 'react-redux';
|
|
import {
|
|
doFetchTransactions,
|
|
selectTransactionItems,
|
|
selectIsFetchingTransactions,
|
|
} from 'lbry-redux';
|
|
import TransactionHistoryPage from './view';
|
|
|
|
const select = state => ({
|
|
fetchingTransactions: selectIsFetchingTransactions(state),
|
|
transactions: selectTransactionItems(state),
|
|
});
|
|
|
|
const perform = dispatch => ({
|
|
fetchTransactions: () => dispatch(doFetchTransactions()),
|
|
});
|
|
|
|
export default connect(
|
|
select,
|
|
perform
|
|
)(TransactionHistoryPage);
|