diff --git a/src/hooks/useSearch/useSearch.ts b/src/hooks/useSearch/useSearch.ts index 4ff501e..11ad469 100644 --- a/src/hooks/useSearch/useSearch.ts +++ b/src/hooks/useSearch/useSearch.ts @@ -55,7 +55,7 @@ function useSearch(): UseSearch { created: -1 } } as SearchQuery - + return await searchQuery(query) } catch (error) { setSearchError(error.message)