From 71ab18ec4264197aae27efe64e4565c4989a19cd Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 30 Mar 2021 19:37:24 +0200 Subject: scripts + links --- components/chapters.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components') diff --git a/components/chapters.tsx b/components/chapters.tsx index 9f15b87..facf1e1 100644 --- a/components/chapters.tsx +++ b/components/chapters.tsx @@ -39,7 +39,7 @@ function NavbarChapter(props: { classList={classes} title={props.chapter.name} onIconClick={() => props.chapter.children?.length > 0 && setCollapsed(!collapsed)} - href={"#" + props.chapter.sectionLink} + href={props.chapter.sectionLink} key={(() => Math.round(Math.random() * 1e12))()} style={{ marginLeft: 12 * props.level, -- cgit v1.2.3