From 8074288b1d911adf112746d907ea413d7ee98201 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 02:12:32 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/components/cases/documents-tab.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/cases/documents-tab.tsx b/src/components/cases/documents-tab.tsx index 2f0fbb0..b25823b 100644 --- a/src/components/cases/documents-tab.tsx +++ b/src/components/cases/documents-tab.tsx @@ -121,8 +121,7 @@ export function CaseDocumentsTab({ caseId }: { caseId: string }) { let ok = 0; for (const f of list) { // webkitRelativePath supports folder uploads when input has webkitdirectory - // @ts-expect-error – non-standard but widely supported - const rel: string = f.webkitRelativePath || ""; + const rel: string = (f as File & { webkitRelativePath?: string }).webkitRelativePath || ""; let folderForFile = baseFolder; if (rel && rel.includes("/")) { const parts = rel.split("/");