chore(canvas/chat): drop unused downloadChatFile import in AttachmentImage

github-code-quality bot flagged this as the last unresolved review thread
blocking the merge queue. The function is referenced in comments but
never called from this file (download is dispatched via the lightbox /
AttachmentChip path). Removing the import resolves the bot thread and
clears the staging branch-protection 'all conversations resolved' gate.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hongming Wang 2026-05-05 21:23:46 -07:00
parent 1b29b24e83
commit c60e2b5fa2

View File

@ -36,7 +36,7 @@
import { useState, useEffect, useRef } from "react";
import type { ChatAttachment } from "./types";
import { downloadChatFile, isPlatformAttachment, resolveAttachmentHref } from "./uploads";
import { isPlatformAttachment, resolveAttachmentHref } from "./uploads";
import { AttachmentLightbox } from "./AttachmentLightbox";
import { AttachmentChip } from "./AttachmentViews";