2022-04-20 16:15:42 +02:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import { withRouter } from 'react-router-dom';
|
2022-05-03 13:21:51 +02:00
|
|
|
import WatchHistoryPage from './view';
|
2022-05-16 08:44:01 +02:00
|
|
|
import { selectWatchHistoryUris } from 'redux/selectors/content';
|
2022-05-04 12:24:13 +02:00
|
|
|
import { doClearContentHistoryAll } from 'redux/actions/content';
|
2022-05-16 08:44:01 +02:00
|
|
|
import { doResolveUris } from 'redux/actions/claims';
|
2022-04-20 16:15:42 +02:00
|
|
|
|
2022-05-16 08:44:01 +02:00
|
|
|
const select = (state) => ({
|
|
|
|
historyUris: selectWatchHistoryUris(state),
|
2022-04-20 16:15:42 +02:00
|
|
|
});
|
|
|
|
|
2022-05-16 08:44:01 +02:00
|
|
|
const perform = {
|
|
|
|
doClearContentHistoryAll,
|
|
|
|
doResolveUris,
|
|
|
|
};
|
|
|
|
|
2022-05-03 13:21:51 +02:00
|
|
|
export default withRouter(connect(select, perform)(WatchHistoryPage));
|