From 4c62d1ecc0f729900c2b82b2cbc1ba249beb39d1 Mon Sep 17 00:00:00 2001 From: Enrique Gonzalez Date: Wed, 4 Sep 2024 08:07:46 -0700 Subject: [PATCH] add default suggestions when no results are found --- src/components/search/docsearch/DocSearchModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/search/docsearch/DocSearchModal.tsx b/src/components/search/docsearch/DocSearchModal.tsx index 3c7a979cc..cdef81d41 100644 --- a/src/components/search/docsearch/DocSearchModal.tsx +++ b/src/components/search/docsearch/DocSearchModal.tsx @@ -171,7 +171,7 @@ export function DocSearchModal({ initialState: { query: initialQuery, context: { - searchSuggestions: [], + searchSuggestions: ["Cody","Code Search"], }, }, insights,