Skip to content

Commit f1c4e61

Browse files
author
Marco Pereirinha
committed
Fix typo
1 parent ff510d5 commit f1c4e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/src/gallery-block/edit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const Edit = ( { setAttributes, attributes, className, isSelected } ) => {
4242

4343
const preparedAttributes = useMemo( () => {
4444
// Do not override block settings with defaults on existing ones.
45-
if ( 0 !== attributes.selectedImages.lenght ) {
45+
if ( 0 !== attributes.selectedImages.length ) {
4646
return attributes;
4747
}
4848

0 commit comments

Comments
 (0)