Add recent searches in web UI (#26834)

This commit is contained in:
Eugen Rochko
2023-09-07 14:56:19 +02:00
committed by GitHub
parent a90b0056cc
commit 9b2bc3d1de
6 changed files with 62 additions and 22 deletions
@@ -15,7 +15,7 @@ import Search from '../components/search';
const mapStateToProps = state => ({
value: state.getIn(['search', 'value']),
submitted: state.getIn(['search', 'submitted']),
recent: state.getIn(['search', 'recent']),
recent: state.getIn(['search', 'recent']).reverse(),
});
const mapDispatchToProps = dispatch => ({