Skip to content

Commit

Permalink
use hierarchy instead of hierarchy_camel
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Apr 7, 2021
1 parent b568362 commit 5ea358b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docsearch-react/src/ResultsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function ResultsScreen(props: ResultsScreenProps) {
}

const title = removeHighlightTags(
collection.items[0]._highlightResult.hierarchy_camel[0].lvl0.value
collection.items[0]._highlightResult.hierarchy.lvl0.value
);

return (
Expand Down

0 comments on commit 5ea358b

Please sign in to comment.