feat: Enable API search (#353)
* enabled search in ref and changed from section -> main so Algolia will index ref content * fix: algolia apu key
This commit is contained in:
@@ -82,7 +82,7 @@ const Section = ({ data }) => {
|
||||
}, [isInView])
|
||||
|
||||
return (
|
||||
<section
|
||||
<main
|
||||
ref={sectionRef}
|
||||
id={convertToKebabCase(section.section_name)}
|
||||
className="DocSearch-content"
|
||||
@@ -200,7 +200,7 @@ const Section = ({ data }) => {
|
||||
)}
|
||||
</Flex>
|
||||
</Box>
|
||||
</section>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user