From 2c48f5783677873c41672ab262c2172cd1d062f2 Mon Sep 17 00:00:00 2001 From: Ben Dwyer Date: Fri, 14 Jun 2024 13:40:17 +0100 Subject: [PATCH] apply the name to the correct object --- .../use-theme-style-variations-by-property.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-site/src/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js b/packages/edit-site/src/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js index 6449b5b3423320..401a7e1a71dfd3 100644 --- a/packages/edit-site/src/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js +++ b/packages/edit-site/src/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js @@ -78,7 +78,7 @@ export function useCurrentMergeThemeStyleVariationsWithUserConfig( { clonedUserVariation, property ); - userVariation.title = __( 'Default' ); + userVariationWithoutProperty.title = __( 'Default' ); const variationsWithSinglePropertyAndBase = variationsFromTheme .filter( ( variation ) => {