Skip to content

Commit

Permalink
fix(image-editor): add initial value for the imageSize state
Browse files Browse the repository at this point in the history
  • Loading branch information
nd0ut committed May 14, 2024
1 parent 080439f commit 5709fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/CloudImageEditor/src/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function initState(fnCtx) {
'*imgEl': null,
'*imgContainerEl': null,
'*networkProblems': false,
'*imageSize': null,
'*imageSize': { width: 0, height: 0 },
/** @type {import('./types.js').Transformations} */
'*editorTransformations': {},
/** @type {import('./types.js').CropPresetList} */
Expand Down

0 comments on commit 5709fb2

Please sign in to comment.