A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: cleanup
Ammar Ahmed45730e2a078c
diff --git a/apps/web/src/components/editor/table-of-contents.tsx b/apps/web/src/components/editor/table-of-contents.tsxindex 8ab1424d8..bb83ffe70 100644--- a/apps/web/src/components/editor/table-of-contents.tsx+++ b/apps/web/src/components/editor/table-of-contents.tsx@@ -36,22 +36,20 @@ You should have received a copy of the GNU General Public Licensealong with this program. If not, see <http://www.gnu.org/licenses/>.*/-import React, { useEffect, useLayoutEffect, useState } from "react";-import { ChevronDown, ChevronRight, Circle, Cross } from "../icons";-import { useEditorStore } from "../../stores/editor-store";-import ScrollContainer from "../scroll-container";-import { ScopedThemeProvider } from "../theme-provider";-import { Section } from "../properties";import { scrollIntoViewById, TOCItem } from "@notesnook/editor";+import { strings } from "@notesnook/intl";import { Button, Flex, Text } from "@theme-ui/components";-import { useEditorManager } from "./manager";+import React, { useLayoutEffect } from "react";+import { ChevronDown, ChevronRight, Circle } from "../icons";+import { Section } from "../properties";+import { ScopedThemeProvider } from "../theme-provider";import { TITLE_BAR_HEIGHT } from "../title-bar";-import { strings } from "@notesnook/intl";import {TreeNode,VirtualizedTree,VirtualizedTreeHandle} from "../virtualized-tree";+import { useEditorManager } from "./manager";type TableOfContentsProps = {sessionId: string;