summaryrefslogtreecommitdiff
path: root/examples/docs/src/components/RightSidebar/RightSidebar.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/docs/src/components/RightSidebar/RightSidebar.astro')
-rw-r--r--examples/docs/src/components/RightSidebar/RightSidebar.astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/docs/src/components/RightSidebar/RightSidebar.astro b/examples/docs/src/components/RightSidebar/RightSidebar.astro
index f61fb010f..1406b065e 100644
--- a/examples/docs/src/components/RightSidebar/RightSidebar.astro
+++ b/examples/docs/src/components/RightSidebar/RightSidebar.astro
@@ -2,12 +2,12 @@
import TableOfContents from "./TableOfContents.tsx";
import MoreMenu from "./MoreMenu.astro";
const { content, githubEditUrl } = Astro.props;
-const headers = content.astro.headers;
+const headings = content.astro.headings;
---
<nav class="sidebar-nav" aria-labelledby="grid-right">
<div class="sidebar-nav-inner">
- <TableOfContents client:media="(min-width: 50em)" {headers} />
+ <TableOfContents client:media="(min-width: 50em)" {headings} />
<MoreMenu editHref={githubEditUrl} />
</div>
</nav>