Skip to content

Commit 569eb2b

Browse files
committed
refactor: nit
1 parent b4f2d0b commit 569eb2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/site/util/table.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ export default function remarkTableTitles() {
1010
return (tree: Root) => {
1111
visit(tree, 'table', table => {
1212
// Ensure table has at least a header row and one data row
13-
if (table.children.length < 2) return;
13+
if (table.children.length < 2) {
14+
return;
15+
}
1416

1517
const [headerRow, ...dataRows] = table.children;
1618

0 commit comments

Comments
 (0)