From 209c3e499cd0e025c3106d66874c9e2e65b1a9d6 Mon Sep 17 00:00:00 2001 From: Kwanghyun On Date: Thu, 31 Oct 2024 22:13:13 +0900 Subject: [PATCH] Fix lint --- drizzle/meta/0005_snapshot.json | 6 ++---- drizzle/meta/_journal.json | 2 +- src/components/chat-view/Chat.tsx | 2 -- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drizzle/meta/0005_snapshot.json b/drizzle/meta/0005_snapshot.json index 06296c5..695a8fb 100644 --- a/drizzle/meta/0005_snapshot.json +++ b/drizzle/meta/0005_snapshot.json @@ -49,9 +49,7 @@ "template_name_unique": { "name": "template_name_unique", "nullsNotDistinct": false, - "columns": [ - "name" - ] + "columns": ["name"] } }, "checkConstraints": {} @@ -369,4 +367,4 @@ "schemas": {}, "tables": {} } -} \ No newline at end of file +} diff --git a/drizzle/meta/_journal.json b/drizzle/meta/_journal.json index 2b49225..b01b7c1 100644 --- a/drizzle/meta/_journal.json +++ b/drizzle/meta/_journal.json @@ -45,4 +45,4 @@ "breakpoints": true } ] -} \ No newline at end of file +} diff --git a/src/components/chat-view/Chat.tsx b/src/components/chat-view/Chat.tsx index 74381f3..640e890 100644 --- a/src/components/chat-view/Chat.tsx +++ b/src/components/chat-view/Chat.tsx @@ -1,4 +1,3 @@ -import * as Dialog from '@radix-ui/react-dialog' import { useMutation } from '@tanstack/react-query' import { History, Plus } from 'lucide-react' import { App, Notice } from 'obsidian' @@ -43,7 +42,6 @@ import { PromptGenerator } from '../../utils/promptGenerator' import ChatUserInput, { ChatUserInputRef } from './chat-input/ChatUserInput' import { editorStateToPlainText } from './chat-input/utils/editor-state-to-plain-text' import { ChatListDropdown } from './ChatListDropdown' -import CreateTemplateDialogContent from './CreateTemplateDialog' import QueryProgress, { QueryProgressState } from './QueryProgress' import ReactMarkdown from './ReactMarkdown'