Skip to content

Commit 1cf96fa

Browse files
committed
fix #761
1 parent 56c0e24 commit 1cf96fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/blocks/read-more-box/edit.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ export default function ( { attributes, setAttributes, clientId, className } ) {
6161
setAttributes( {
6262
label: label || __( 'Read more', 'snow-monkey-blocks' ),
6363
closeLabel: closeLabel || __( 'Close', 'snow-monkey-blocks' ),
64-
clientId: attributes.clientId || clientId,
64+
clientId,
6565
} );
66-
}, [] );
66+
}, [ clientId ] );
6767

6868
const hasInnerBlocks = useSelect(
6969
( select ) =>

0 commit comments

Comments
 (0)