fix(web): update dropzone to accept all file types, not just images

This commit is contained in:
SnapOtter
2026-06-13 15:50:52 +08:00
parent 3114323d07
commit b8b6b0a44a
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { FileImage, ImageUp, Upload } from "lucide-react";
import { FileUp, Upload } from "lucide-react";
import { type DragEvent, useCallback, useEffect, useState } from "react";
import { useTranslation } from "@/contexts/i18n-context";
import { useUrlImport } from "@/hooks/use-url-import";
@@ -226,7 +226,7 @@ export function Dropzone({
isDragging ? "bg-primary/15" : "group-hover:bg-primary/12",
)}
>
<ImageUp
<FileUp
className={cn(
"transition-all duration-200",
compact ? "h-8 w-8" : "h-10 w-10",