Skip to content

Commit 61caf97

Browse files
committed
Remove default userLocale of object
1 parent 96d453b commit 61caf97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/js/src/settings/helpers/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export const createTaxonomySearchIndex = ( { name, label, route }, { userLocale
241241
* @param {string} options.userLocale The user locale string.
242242
* @returns {Object} The search index.
243243
*/
244-
export const createSearchIndex = ( postTypes, taxonomies, { userLocale = {} } = {} ) => ( {
244+
export const createSearchIndex = ( postTypes, taxonomies, { userLocale } = {} ) => ( {
245245
blogdescription: {
246246
route: "/site-basics",
247247
routeLabel: __( "Site basics", "wordpress-seo" ),

0 commit comments

Comments
 (0)