diff --git a/packages/react/src/DynamicLayout.tsx b/packages/react/src/DynamicLayout.tsx index e5f1fbd..b652815 100644 --- a/packages/react/src/DynamicLayout.tsx +++ b/packages/react/src/DynamicLayout.tsx @@ -22,7 +22,7 @@ function RecursivelyToc({ toc }: { toc: Toc }) { ? true : location.hash.length > 0 ? location.hash === `#${tocEntry.id}` - : true + : false } > {tocEntry.value}