We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4f2d0b commit 569eb2bCopy full SHA for 569eb2b
apps/site/util/table.ts
@@ -10,7 +10,9 @@ export default function remarkTableTitles() {
10
return (tree: Root) => {
11
visit(tree, 'table', table => {
12
// Ensure table has at least a header row and one data row
13
- if (table.children.length < 2) return;
+ if (table.children.length < 2) {
14
+ return;
15
+ }
16
17
const [headerRow, ...dataRows] = table.children;
18
0 commit comments