diff --git a/src/components/tree/List.astro b/src/components/tree/List.astro index a8cea2b..fe55617 100644 --- a/src/components/tree/List.astro +++ b/src/components/tree/List.astro @@ -5,27 +5,32 @@ import type { Maybe } from "purify-ts"; interface Props { tree: Tree; + slug: string; prefix: Maybe; } -const { tree, prefix } = Astro.props; +const { tree, slug, prefix } = Astro.props; --- {tree.children .map(m => Object.values(m)) .filter(xs => xs.length > 0) .map(pages => -