Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(toc): Remove unnecessary spaces
SiriusXTa234912cb57d
diff --git a/apps/client/src/widgets/sidebar/TableOfContents.tsx b/apps/client/src/widgets/sidebar/TableOfContents.tsxindex 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, scrollToHeadiscrollToHeading(heading: T): void;activeHeadingId?: string | null;}) {- const tocRef = useRef<HTMLLIElement>(null);+ const tocRef = useRef<HTMLLIElement>(null);const nestedHeadings = buildHeadingTree(headings);useEffect(() => {