We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8823387 commit 8e55218Copy full SHA for 8e55218
src/Elastic.Documentation.Site/Assets/web-components/SearchOrAskAi/Search/useSearchQuery.ts
@@ -25,7 +25,8 @@ export const useSearchQuery = () => {
25
queryKey: ['search', { searchTerm: debouncedSearchTerm }],
26
queryFn: async () => {
27
const response = await fetch(
28
- '/docs/_api/v1/search?q=' + encodeURIComponent(debouncedSearchTerm)
+ '/docs/_api/v1/search?q=' +
29
+ encodeURIComponent(debouncedSearchTerm)
30
)
31
if (!response.ok) {
32
throw new Error(
0 commit comments