Search tweak #123

Merged
akinwale merged 3 commits from search-tweak into master 2019-03-27 08:01:16 +01:00
Showing only changes of commit 1e6c6a7ffd - Show all commits

2
dist/bundle.js vendored
View file

@ -3409,7 +3409,7 @@ var selectSuggestions /*: (
return state.suggestions;
});
var selectSearchQuery /*: (state: State) => ?string*/ = exports.selectSearchQuery = (0, _reselect.createSelector)(_navigation.selectCurrentPage, _navigation.selectCurrentParams, selectSearchValue, function (page /*: string*/, params /*: ?{ query: string }*/, searchValue) {
var selectSearchQuery /*: (state: State) => ?string*/ = exports.selectSearchQuery = (0, _reselect.createSelector)(_navigation.selectCurrentPage, _navigation.selectCurrentParams, selectSearchValue, function (page /*: string*/, params /*: ?{ query: string }*/, searchValue /*: string*/) {
return page === 'search' ? params && params.query : searchValue;
});