From 0640e6c9b77c8ce21c903773a7247a61dc0abc41 Mon Sep 17 00:00:00 2001 From: jarvis2f <137974272+jarvis2f@users.noreply.github.com> Date: Sat, 21 Dec 2024 16:34:18 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20refactor:=20Remove=20the=20`hasS?= =?UTF-8?q?ensitiveContent`=20field=20set=20during=20testing.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/hooks/use-files.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/web/src/hooks/use-files.ts b/web/src/hooks/use-files.ts index 76bb069..6816cf6 100644 --- a/web/src/hooks/use-files.ts +++ b/web/src/hooks/use-files.ts @@ -83,7 +83,6 @@ export function useFiles(accountId: string, chatId: string) { page.files.forEach((file) => { files.push({ ...file, - hasSensitiveContent: true, downloadStatus: latestFilesStatus[file.id]?.downloadStatus ?? file.downloadStatus, localPath: latestFilesStatus[file.id]?.localPath ?? file.localPath,