lbry-desktop/ui/page/watchHistory/index.js

18 lines
530 B
JavaScript
Raw Normal View History

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