build error fixes
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m16s

This commit is contained in:
2026-03-12 18:58:44 -05:00
parent bb0fe6c749
commit 1d3d9b512a
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import { type Component, createSignal, For, createEffect } from "solid-js";
import { Search, Save, FolderOpen, Tag, Settings, Database, Server, RefreshCw, Cpu, ChevronRight, X, Calendar, Pen, Type, Underline, Strikethrough, Code, Quote, ImageIcon, Heading1, Heading2, Heading3, Link, CheckSquare, List, ListOrdered, Film, AppWindow, Minus, Grid3X3, AlignLeft, AlignCenter, AlignRight, FileText, Delete, Trash2, Highlighter, Bold, Italic, ListTodo } from "lucide-solid";
import { Type, Underline, Code, Quote, ImageIcon, Heading1, Heading2, Heading3, List, ListTodo, Film, FileText, AppWindow, Minus, Grid3X3, Highlighter, AlignLeft, AlignCenter, AlignRight, Trash2, Bold, Italic } from "lucide-solid";
import { cn } from "@/lib/utils";
export interface CommandItem {
+1
View File
@@ -90,6 +90,7 @@ export const TaskEditor: Component<TaskEditorProps> = (props) => {
loading: `Uploading ${file.name}...`,
success: ({ url, filename }) => {
if (isImage) {
// @ts-ignore
editor.chain().focus().setImage({ src: url, filename }).run();
} else if (isVideo) {
editor.chain().focus().setVideo({ src: url, filename }).run();