fix issue of search not working in dev docs (#8065)

Fix for #8047
This commit is contained in:
Sanskar Jain
2024-10-25 20:16:30 +05:30
committed by GitHub
parent 9303e39bcf
commit f633f0d330

View File

@@ -8,7 +8,7 @@ interface AlgoliaDocSearchProps {
export const AlgoliaDocSearch = ({ pathname }: AlgoliaDocSearchProps) => {
const indexName = pathname.includes('user-guide')
? 'user-guide'
: 'developer';
: 'developer-docs';
return (
<DocSearch
hitComponent={({ hit }: { hit: any }) => (