From eac6a33b22225bc40906d24fe7122e637e184e80 Mon Sep 17 00:00:00 2001 From: Marvin Becker Date: Tue, 15 Oct 2024 19:59:53 +0200 Subject: [PATCH] Fixing linting errors --- src/common/components/TextInput/TextInput.config.tsx | 6 +++--- src/container/SparkInput/SparkInput.tsx | 2 +- src/scripts/files/importJSONWorker.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/components/TextInput/TextInput.config.tsx b/src/common/components/TextInput/TextInput.config.tsx index 38dc873..3297630 100644 --- a/src/common/components/TextInput/TextInput.config.tsx +++ b/src/common/components/TextInput/TextInput.config.tsx @@ -1,8 +1,8 @@ import ListKeymap from "@tiptap/extension-list-keymap"; import Placeholder from "@tiptap/extension-placeholder"; -import Document from "@tiptap/extension-document"; -import Text from "@tiptap/extension-text"; -import Paragraph from "@tiptap/extension-paragraph"; +// import Document from "@tiptap/extension-document"; +// import Text from "@tiptap/extension-text"; +// import Paragraph from "@tiptap/extension-paragraph"; import Mention from "@tiptap/extension-mention"; import StarterKit from "@tiptap/starter-kit"; diff --git a/src/container/SparkInput/SparkInput.tsx b/src/container/SparkInput/SparkInput.tsx index f3e6f1b..f93815d 100644 --- a/src/container/SparkInput/SparkInput.tsx +++ b/src/container/SparkInput/SparkInput.tsx @@ -26,7 +26,7 @@ export const SparkInput = () => { return; } - pip.addEventListener("pagehide", (event) => { + pip.addEventListener("pagehide", (_event) => { setPipWindow(undefined); }); diff --git a/src/scripts/files/importJSONWorker.ts b/src/scripts/files/importJSONWorker.ts index 5edee5a..3b7f041 100644 --- a/src/scripts/files/importJSONWorker.ts +++ b/src/scripts/files/importJSONWorker.ts @@ -5,7 +5,7 @@ import { type Backup, type BackupV6, } from "../../interfaces/Backup"; -import type { PlainSpark, Spark } from "../../interfaces/Spark"; +import type { PlainSpark } from "../../interfaces/Spark"; import { sparkService } from "../db/SparkService"; import { tagService } from "../db/TagService"; import { removeHash, stringToHue } from "../utils/stringUtils";