diff --git a/packages/autocomplete-plugin-query-suggestions/src/getTemplates.tsx b/packages/autocomplete-plugin-query-suggestions/src/getTemplates.tsx index c4fd1ceef..3c8595a90 100644 --- a/packages/autocomplete-plugin-query-suggestions/src/getTemplates.tsx +++ b/packages/autocomplete-plugin-query-suggestions/src/getTemplates.tsx @@ -32,6 +32,7 @@ export function getTemplates({ {reverseHighlightHit({ hit: item, attribute: 'query', + createElement, })} diff --git a/packages/autocomplete-plugin-recent-searches/src/getTemplates.tsx b/packages/autocomplete-plugin-recent-searches/src/getTemplates.tsx index 59f9f8123..91879ad14 100644 --- a/packages/autocomplete-plugin-recent-searches/src/getTemplates.tsx +++ b/packages/autocomplete-plugin-recent-searches/src/getTemplates.tsx @@ -25,6 +25,7 @@ export function getTemplates({ {reverseHighlightHit({ hit: item, attribute: 'query', + createElement, })}