a2099482b0
## Issue Doing individual resolves, even on a small list, is taxing. ## Change Add infinite scroll and batch-resolve each page.
17 lines
530 B
JavaScript
17 lines
530 B
JavaScript
import { connect } from 'react-redux';
|
|
import { withRouter } from 'react-router-dom';
|
|
import WatchHistoryPage from './view';
|
|
import { selectWatchHistoryUris } from 'redux/selectors/content';
|
|
import { doClearContentHistoryAll } from 'redux/actions/content';
|
|
import { doResolveUris } from 'redux/actions/claims';
|
|
|
|
const select = (state) => ({
|
|
historyUris: selectWatchHistoryUris(state),
|
|
});
|
|
|
|
const perform = {
|
|
doClearContentHistoryAll,
|
|
doResolveUris,
|
|
};
|
|
|
|
export default withRouter(connect(select, perform)(WatchHistoryPage));
|