Skip to content

Commit

Permalink
fix(plugins): pass createElement to highlight utils
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Feb 5, 2021
1 parent 46fb05b commit 11f4cb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export function getTemplates<TItem extends QuerySuggestionsHit>({
{reverseHighlightHit<QuerySuggestionsHit>({
hit: item,
attribute: 'query',
createElement,
})}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export function getTemplates<TItem extends RecentSearchesItem>({
{reverseHighlightHit<any>({
hit: item,
attribute: 'query',
createElement,
})}
</div>
</div>
Expand Down

0 comments on commit 11f4cb7

Please sign in to comment.