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 049c432b8b - Show all commits

View file

@ -31,7 +31,7 @@ export const selectSearchQuery: (state: State) => ?string = createSelector(
selectCurrentPage,
selectCurrentParams,
selectSearchValue,
(page: string, params: ?{ query: string }, searchValue) =>
(page: string, params: ?{ query: string }, searchValue: string) =>
page === 'search' ? params && params.query : searchValue
);