Skip to content

Commit

Permalink
Feedback 6.
Browse files Browse the repository at this point in the history
  • Loading branch information
spacedmonkey committed Dec 9, 2022
1 parent c82bb25 commit 6fd2808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/story-editor/src/utils/getInsertedElementSize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function getInsertedElementSize(
height: number,
attrs: object,
ratio = 1,
resource: Resource
resource?: Resource
) {
if (!isNum(width)) {
if (isNum(height)) {
Expand Down

0 comments on commit 6fd2808

Please sign in to comment.