in theme/src/use-search.js [35:46]
path: ensureAbsolute(
path.join(node.parent.relativeDirectory, node.parent.name === 'index' ? '/' : node.parent.name)
),
title: node.frontmatter.title,
rawBody: node.rawBody
})),
[data]
)
const [results, setResults] = React.useState(list)
const handleSearchResults = React.useCallback(({data}) => {