Skip to content

Commit d2afac6

Browse files
committed
fix: correct a typo
1 parent b44a94e commit d2afac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/block-components/typography/deprecated.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export const deprecateTypographyShadowColor = {
9696
const shadowParentHover = getAttribute( 'textShadowParentHover' ) || shadowHover
9797

9898
if ( getAttribute( 'textShadow' ) && getAttribute( 'textShadow' ).indexOf( 'rgba' ) !== -1 ) {
99-
const { options, color } = extractRgba( shadowHover )
99+
const { options, color } = extractRgba( shadow )
100100
const hex = rgbaToHexAlpha( color )
101101
newAttributes[ getAttrName( 'textShadow' ) ] = `${ options } ${ hex }`
102102
}

0 commit comments

Comments
 (0)