Skip to content

Build your personal knowledge base with Trilium Notes

chore(toc): Remove unnecessary spaces

SiriusXTa234912cb57d
diff --git a/apps/client/src/widgets/sidebar/TableOfContents.tsx b/apps/client/src/widgets/sidebar/TableOfContents.tsx
index 24311a6bef..7e6fb887de 100644
--- a/apps/client/src/widgets/sidebar/TableOfContents.tsx
+++ b/apps/client/src/widgets/sidebar/TableOfContents.tsx
@@ -94,7 +94,7 @@ function AbstractTableOfContents<T extends RawHeading>({ headings, scrollToHeadi
scrollToHeading(heading: T): void;
activeHeadingId?: string | null;
}) {
- const tocRef = useRef<HTMLLIElement>(null);
+ const tocRef = useRef<HTMLLIElement>(null);
const nestedHeadings = buildHeadingTree(headings);
useEffect(() => {