diff --git a/web/src/components/MemoEditor/components/AttachmentList.tsx b/web/src/components/MemoEditor/components/AttachmentList.tsx index 240bba8eb..4aa6d1716 100644 --- a/web/src/components/MemoEditor/components/AttachmentList.tsx +++ b/web/src/components/MemoEditor/components/AttachmentList.tsx @@ -1,4 +1,4 @@ -import { ChevronDownIcon, ChevronUpIcon, FileIcon, Loader2Icon, PaperclipIcon, XIcon } from "lucide-react"; +import { ChevronDownIcon, ChevronUpIcon, FileIcon, PaperclipIcon, XIcon } from "lucide-react"; import type { FC } from "react"; import { cn } from "@/lib/utils"; import type { Attachment } from "@/types/proto/api/v1/attachment_service_pb"; @@ -21,7 +21,7 @@ const AttachmentItemCard: FC<{ canMoveUp?: boolean; canMoveDown?: boolean; }> = ({ item, onRemove, onMoveUp, onMoveDown, canMoveUp = true, canMoveDown = true }) => { - const { category, filename, thumbnailUrl, mimeType, size, isLocal } = item; + const { category, filename, thumbnailUrl, mimeType, size } = item; const fileTypeLabel = getFileTypeLabel(mimeType); const fileSizeLabel = size ? formatFileSize(size) : undefined; @@ -41,12 +41,6 @@ const AttachmentItemCard: FC<{
- {isLocal && ( - <> - - - - )} {fileTypeLabel} {fileSizeLabel && ( <>