Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 01:23:37 +00:00
co-authored by renee-png
parent c236e2a075
commit 3e5394416b
+3
View File
@@ -37,6 +37,9 @@ export function CaseDocumentsTab({ caseId }: { caseId: string }) {
const [dragOver, setDragOver] = useState(false);
const [creatingFolder, setCreatingFolder] = useState(false);
const [newFolderName, setNewFolderName] = useState("");
const [previewDoc, setPreviewDoc] = useState<any | null>(null);
const [previewUrl, setPreviewUrl] = useState<string | null>(null);
const [previewLoading, setPreviewLoading] = useState(false);
const fileRef = useRef<HTMLInputElement>(null);
const load = useCallback(async () => {