Skip to content

Commit 8374933

Browse files
fix (preset values): fixed migration attribute name for button font size
1 parent 8bbe4b3 commit 8374933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/block/button/deprecated.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const deprecated = [
2828
newAttributes = deprecateContainerBackgroundColorOpacity.migrate( newAttributes )
2929
newAttributes = deprecateBlockBackgroundColorOpacity.migrate( newAttributes )
3030
newAttributes = deprecateButtonGradientColor.migrate( 'button%s' )( newAttributes )
31-
newAttributes = deprecateTypographyFontSize.migrate( 'button%s' )( newAttributes )
31+
newAttributes = deprecateTypographyFontSize.migrate( '%s' )( newAttributes )
3232
newAttributes = deprecateBlockHeight.migrate( newAttributes )
3333

3434
return newAttributes

0 commit comments

Comments
 (0)