lbry-desktop/src/renderer/page/transactionHistory/index.js
Anna Melzer bbf6696054 Linting/quick wins modal & pages (#2086)
* 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
2018-11-01 17:55:25 -04:00

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);