Skip to content

Commit 7e476ce

Browse files
committed
do nothing if selected block style is clicked
1 parent d43856a commit 7e476ce

File tree

1 file changed

+1
-1
lines changed
  • src/components/block-styles-control

1 file changed

+1
-1
lines changed

src/components/block-styles-control/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export const BlockStylesControl = props => {
123123
const onSelectBlockStyle = option => {
124124
if ( isPro ) {
125125
doAction( 'stackable.global-settings.global-block-styles.select-block-style',
126-
option, globalBlockStyles, defaultBlockAttributes, setAttributes )
126+
option, blockStyle, globalBlockStyles, defaultBlockAttributes, setAttributes )
127127
} else {
128128
setOpenProNotice( value => ! value )
129129
}

0 commit comments

Comments
 (0)