refactor(ui): remove unused helper exports · openclaw/openclaw@79718d9
vincentkoc
·
2026-06-18
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3,10 +3,6 @@ export const CHAT_ATTACHMENT_ACCEPT =
|
3 | 3 | "image/*,audio/*,application/pdf,text/*,.csv,.json,.md,.txt,.zip," + |
4 | 4 | ".doc,.docx,.xls,.xlsx,.ppt,.pptx"; |
5 | 5 | |
6 | | -export function isSupportedChatAttachmentMimeType(mimeType: string | null | undefined): boolean { |
7 | | -return typeof mimeType === "string" && !mimeType.startsWith("video/"); |
8 | | -} |
9 | | - |
10 | 6 | export function isSupportedChatAttachmentFile(file: Pick<File, "name" | "type">): boolean { |
11 | 7 | if (file.type.startsWith("video/")) { |
12 | 8 | return false; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。