Skip to content

Commit

Permalink
fixed default value for customResults to empty array
Browse files Browse the repository at this point in the history
  • Loading branch information
robfelty committed Nov 5, 2024
1 parent 2367c79 commit 3a3d75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/packages/search/src/instant-search/lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ function generateApiQueryString( {
isInCustomizer = false,
additionalBlogIds = [],
highlightFields = [ 'title', 'content', 'comments' ],
customResults = {},
customResults = [],
} ) {
if ( query === null ) {
query = '';
Expand Down

0 comments on commit 3a3d75e

Please sign in to comment.