aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-30 19:37:24 +0200
committerlonkaars <l.leblansch@gmail.com>2021-03-30 19:37:24 +0200
commit71ab18ec4264197aae27efe64e4565c4989a19cd (patch)
tree561f82b426e0fca092b22e1f10e1a507091925e7 /components
parent609c78e15c43ae0a3733640c724e2f3b1a08ab80 (diff)
scripts + links
Diffstat (limited to 'components')
-rw-r--r--components/chapters.tsx2
1 files changed, 1 insertions, 1 deletions
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,