From d625256faf106e64648e3541dcc183eb89fb6ee3 Mon Sep 17 00:00:00 2001 From: Mamatha Rao Date: Mon, 29 Jul 2024 14:36:35 +0530 Subject: [PATCH] Fixed a minor issuw with get AI result --- src/components/SearchResults.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SearchResults.js b/src/components/SearchResults.js index b2ec041..71ebce3 100644 --- a/src/components/SearchResults.js +++ b/src/components/SearchResults.js @@ -98,7 +98,7 @@ const SearchResults = ( props ) => { setIsLoading( true ); try { // Check if the algolia results are close enough - const hits = results.hits; + const hits = multiResults.hits; const resultMatches = hits.length > 0 ? getResultMatches(