aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2023-11-23 20:34:54 +0200
committeromagdy7 <omar.professional8777@gmail.com>2023-11-23 20:34:54 +0200
commit5474a1da90f242e01f53ddfc3a56b9f3724a40cd (patch)
tree8e61b5da5bd5b0ab8f09b601ad7fc548a2ae10bb
parent21b59887998ed042aff2f6ccbbfbbd327f49eee0 (diff)
downloadollama-logseq-5474a1da90f242e01f53ddfc3a56b9f3724a40cd.tar.xz
ollama-logseq-5474a1da90f242e01f53ddfc3a56b9f3724a40cd.zip
Remove unused imports
-rw-r--r--src/App.tsx1
-rw-r--r--src/components/OllamaCommandPallete.tsx4
2 files changed, 2 insertions, 3 deletions
diff --git a/src/App.tsx b/src/App.tsx
index 83c2dc5..f9592a3 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,4 +1,3 @@
-import { AppUserInfo } from "@logseq/libs/dist/LSPlugin";
import React, { useEffect, useRef, useState } from "react";
import { OllamaCommandPallete } from "./components/OllamaCommandPallete";
import { convertToFlashCardFromEvent, DivideTaskIntoSubTasksFromEvent, ollamaUI, summarizeBlockFromEvent } from "./ollama";
diff --git a/src/components/OllamaCommandPallete.tsx b/src/components/OllamaCommandPallete.tsx
index 346fb1e..e8e9c42 100644
--- a/src/components/OllamaCommandPallete.tsx
+++ b/src/components/OllamaCommandPallete.tsx
@@ -1,4 +1,4 @@
-import React, { KeyboardEventHandler, useEffect, useState } from "react"
+import React, { useEffect, useState } from "react"
import {
Command,
CommandEmpty,
@@ -6,7 +6,7 @@ import {
CommandItem,
CommandList,
} from "@/components/ui/command"
-import { convertToFlashCard, convertToFlashCardCurrentBlock, DivideTaskIntoSubTasks, DivideTaskIntoSubTasksCurrentBlock, summarize, summarizeBlock } from "@/ollama";
+import { convertToFlashCardCurrentBlock, DivideTaskIntoSubTasksCurrentBlock, summarize, summarizeBlock } from "@/ollama";
import { PromptAI } from "./PromptAI";
export function OllamaCommandPallete({ options, theme }: { options: string[], theme: string }) {