We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff510d5 commit f1c4e61Copy full SHA for f1c4e61
js/src/gallery-block/edit.js
@@ -42,7 +42,7 @@ const Edit = ( { setAttributes, attributes, className, isSelected } ) => {
42
43
const preparedAttributes = useMemo( () => {
44
// Do not override block settings with defaults on existing ones.
45
- if ( 0 !== attributes.selectedImages.lenght ) {
+ if ( 0 !== attributes.selectedImages.length ) {
46
return attributes;
47
}
48
0 commit comments