From f3c98b7763290821b2167e4bb0e98984aa5bb618 Mon Sep 17 00:00:00 2001 From: Matt <1009003+tantaman@users.noreply.github.com> Date: Fri, 26 May 2023 09:15:19 -0400 Subject: [PATCH] remove unused variables -- #421 --- src/components/editor/OperatingTableSlide.tsx | 2 +- src/components/editor/markdown/TextEditor.tsx | 1 - src/domain/queries.ts | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/editor/OperatingTableSlide.tsx b/src/components/editor/OperatingTableSlide.tsx index 3e927477..4c606c46 100644 --- a/src/components/editor/OperatingTableSlide.tsx +++ b/src/components/editor/OperatingTableSlide.tsx @@ -28,7 +28,7 @@ function OperatingTableSlide({ useBind(previewTheme, ["bg_colorset", "fontset"]); useBind(appState, ["editor_mode"]); const container = useRef(null); - const [selectionBox, setSelectionBox] = useState(null); + const [_selectionBox, setSelectionBox] = useState(null); const { DragSelection } = useSelectionContainer({ eventsElement: container.current, diff --git a/src/components/editor/markdown/TextEditor.tsx b/src/components/editor/markdown/TextEditor.tsx index 2c3c0caa..c245a469 100644 --- a/src/components/editor/markdown/TextEditor.tsx +++ b/src/components/editor/markdown/TextEditor.tsx @@ -9,7 +9,6 @@ import { memo, useCallback, useEffect, - useLayoutEffect, useRef, useState, } from "react"; diff --git a/src/domain/queries.ts b/src/domain/queries.ts index 1264c46a..3db94787 100644 --- a/src/domain/queries.ts +++ b/src/domain/queries.ts @@ -10,7 +10,6 @@ import { } from "@vlcn.io/react"; import { IID_of } from "../id"; import { - AnyComponent, AnyComponentID, Deck, Presenter,