
diff --git a/site/components/Layout.tsx b/site/components/Layout.tsx
index 836737ab..9d1b9195 100644
--- a/site/components/Layout.tsx
+++ b/site/components/Layout.tsx
@@ -57,7 +57,7 @@ export default function Layout({
title?: string;
tableOfContents?;
}) {
- const { toc } = children.props;
+ // const { toc } = children.props;
const currentSection = useTableOfContents(tableOfContents);
@@ -94,7 +94,7 @@ export default function Layout({
{/** TABLE OF CONTENTS */}
- {tableOfContents.length > 0 && (toc ?? siteConfig.tableOfContents) && (
+ {tableOfContents.length > 0 && (siteConfig.tableOfContents) && (