From 9e9a52242e2959e527d430d6e041cafd1e5965d5 Mon Sep 17 00:00:00 2001 From: Josh Heyer Date: Mon, 1 Jul 2024 20:48:14 +0000 Subject: [PATCH] Disable search insights - it's suddenly generating endless view events and crashing browsers --- src/components/search/index.js | 2 +- src/pages/404.js | 2 +- src/pages/search.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/search/index.js b/src/components/search/index.js index dc285745888..58feb94566f 100644 --- a/src/components/search/index.js +++ b/src/components/search/index.js @@ -253,7 +253,7 @@ const SearchBar = ({ searchProduct, searchVersion }) => { diff --git a/src/pages/404.js b/src/pages/404.js index 31569e84ba3..f0458bfe4d6 100644 --- a/src/pages/404.js +++ b/src/pages/404.js @@ -89,7 +89,7 @@ const SuggestedLinksSearch = ({ queryParams }) => { searchClient={searchClient} indexName={algoliaIndex} initialUiState={{ [algoliaIndex]: queryParams }} - insights={true} + insights={false} > { writeStateToQueryParams(uiState[algoliaIndex]); setUiState(uiState); }} - insights={true} + insights={false} >