Skip to content

Commit b05f302

Browse files
committed
Fix eslint error
1 parent b96a2b8 commit b05f302

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

plugins/notion/src/blocksToHtml.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export function blocksToHtml(blocks: BlockObjectResponse[]) {
112112
tableHasRowHeader = block.table.has_row_header
113113
tableHasColumnHeader = block.table.has_column_header
114114
break
115-
case "table_row":
115+
case "table_row": {
116116
// Check if this is the first row after a table block
117117
const isFirstRow = blocks[i - 1]?.type === "table"
118118

@@ -137,6 +137,7 @@ export function blocksToHtml(blocks: BlockObjectResponse[]) {
137137
htmlContent += `</tbody></table>`
138138
}
139139
break
140+
}
140141
case "video": {
141142
if (block.video.type !== "external") {
142143
break

0 commit comments

Comments
 (0)