diff --git a/src/components/Toc.astro b/src/components/Toc.astro index 40c3279..d40e81c 100644 --- a/src/components/Toc.astro +++ b/src/components/Toc.astro @@ -1,6 +1,8 @@ --- -import { sections } from "../constants/sections.ts"; +import { getSections } from "../constants/sections.ts"; const currentPath = Astro.url.pathname; + +const sections = await getSections(); ---