File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function adaptHighlight(
4242 // formattedHit is the `_formatted` object returned by MeiliSearch.
4343 // It contains all the highlighted and croped attributes
4444 return Object . keys ( formattedHit ) . reduce ( ( result , key ) => {
45- ; ( result [ key ] as any ) = {
45+ ; ( result [ key ] as any ) = {
4646 value : replaceHighlightTags (
4747 formattedHit [ key ] ,
4848 highlightPreTag ,
@@ -108,7 +108,7 @@ function adaptSnippet(
108108 // It contains all the highlighted and croped attributes
109109 return ( Object . keys ( formattedHit ) as any [ ] ) . reduce ( ( result , key ) => {
110110 if ( attributesToSnippet ?. includes ( key ) ) {
111- ; ( result [ key ] as any ) = {
111+ ; ( result [ key ] as any ) = {
112112 value : snippetValue (
113113 formattedHit [ key ] ,
114114 snippetEllipsisText ,
You can’t perform that action at this time.
0 commit comments