Skip to content

Commit

Permalink
Disable search insights
Browse files Browse the repository at this point in the history
- it's suddenly generating endless view events and crashing browsers
  • Loading branch information
josh-heyer committed Jul 1, 2024
1 parent c634cb2 commit 9e9a522
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/search/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ const SearchBar = ({ searchProduct, searchVersion }) => {
<InstantSearch
searchClient={searchClient}
indexName={algoliaIndex}
insights={true}
insights={false}
className="dropdown"
>
<Configure {...searchConfig} />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/404.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const SuggestedLinksSearch = ({ queryParams }) => {
searchClient={searchClient}
indexName={algoliaIndex}
initialUiState={{ [algoliaIndex]: queryParams }}
insights={true}
insights={false}
>
<SuggestedLinks />
<Configure
Expand Down
2 changes: 1 addition & 1 deletion src/pages/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const Search = (data) => {
writeStateToQueryParams(uiState[algoliaIndex]);
setUiState(uiState);
}}
insights={true}
insights={false}
>
<Configure
hitsPerPage={30}
Expand Down

2 comments on commit 9e9a522

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸŽ‰ Published on https://edb-docs.netlify.app as production
πŸš€ Deployed on https://668321f545573ba8120fc514--edb-docs.netlify.app

Please sign in to comment.