Skip to content

Commit fa70f1a

Browse files
committed
Remove nullish
1 parent 381df53 commit fa70f1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/blockable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ export const blockComputed = {
4343
// format with defaults if empty
4444
return {
4545
block_aspect_ratio: this.format?.block_aspect_ratio,
46-
block_height: this.format?.block_height ?? 1,
47-
block_width: this.format?.block_width ?? 1,
46+
block_height: this.format?.block_height || 1,
47+
block_width: this.format?.block_width || 1,
4848
block_color: this.format?.block_color,
4949
bookmark_icon: this.format?.bookmark_icon,
5050
bookmark_cover: this.format?.bookmark_cover,

0 commit comments

Comments
 (0)