madiator.com/ui/component/navigationHistoryRecent/index.js

13 lines
286 B
JavaScript
Raw Normal View History

2021-08-16 12:11:25 +02:00
import { connect } from 'react-redux';
import { selectRecentHistory } from 'redux/selectors/content';
import RecentUserHistory from './view';
const select = (state, props) => ({
history: selectRecentHistory(state),
});
export default connect(
select,
null
)(RecentUserHistory);