Skip to content

Commit b56b88e

Browse files
committed
Remove nullish
1 parent 8841f7d commit b56b88e

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
@@ -45,8 +45,8 @@ export const blockComputed = {
4545
// format with defaults if empty
4646
return {
4747
block_aspect_ratio: this.format?.block_aspect_ratio,
48-
block_height: this.format?.block_height ?? 1,
49-
block_width: this.format?.block_width ?? 1,
48+
block_height: this.format?.block_height || 1,
49+
block_width: this.format?.block_width || 1,
5050
block_color: this.format?.block_color,
5151
bookmark_icon: this.format?.bookmark_icon,
5252
bookmark_cover: this.format?.bookmark_cover,

0 commit comments

Comments
 (0)