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 fdd53cf commit 35da554Copy full SHA for 35da554
src/components/pageGrid.tsx
@@ -20,7 +20,7 @@ export function PageGrid({header}: Props) {
20
}
21
22
const parentNode = nodeForPath(rootNode, path);
23
- if (!parentNode) {
+ if (!parentNode || parentNode.children.length === 0) {
24
return null;
25
26
0 commit comments