1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-24 05:39:35 +02:00

Fixed bug where pressing Enter with empty search bar would redirect to search results

This commit is contained in:
Paweł Malak 2022-03-25 13:37:53 +01:00
parent 0b3eb2e87f
commit 0f6d79683e
4 changed files with 14 additions and 8 deletions

View file

@ -14,6 +14,7 @@ export const searchParser = (searchQuery: string): SearchResult => {
prefix: '',
template: '',
},
rawQuery: searchQuery,
};
const { customQueries, config } = store.getState().config;