Skip to content

Commit

Permalink
Merge branch 'develop' into merge
Browse files Browse the repository at this point in the history
  • Loading branch information
BykhovDenis authored Feb 24, 2025
2 parents f859656 + 4855e94 commit 549bd6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/ui/src/components/Component.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
.then((res) => {
if (current === counter) {
Ctor = res
_props = props
_props = filterDefaultUndefined(props, props)
loading = false
}
})
Expand All @@ -85,11 +85,11 @@
} else {
loading = false
Ctor = component
_props = props
_props = filterDefaultUndefined(props, props)
}
} else {
Ctor = _is
_props = props
_props = filterDefaultUndefined(props, props)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
$: dimensions = getDimensions(value, size)
function getDimensions (value: Attachment, size: AttachmentImageSize): Dimensions {
if (size === 'auto') {
if (size === 'auto' || size == null) {
return {
width: 300,
height: 300,
Expand Down

0 comments on commit 549bd6b

Please sign in to comment.