fix: add proccessing page to file upload and reprocessing (#650)

This commit is contained in:
2025-11-14 14:28:39 +01:00
committed by GitHub
parent a9a4f32324
commit 28a7258e45
4 changed files with 171 additions and 35 deletions

View File

@@ -5,6 +5,7 @@ import { useError } from "../../(errors)/errorContext";
type FileUploadButton = {
transcriptId: string;
onUploadComplete?: () => void;
};
export default function FileUploadButton(props: FileUploadButton) {
@@ -31,6 +32,7 @@ export default function FileUploadButton(props: FileUploadButton) {
const uploadNextChunk = async () => {
if (chunkNumber == totalChunks) {
setProgress(0);
props.onUploadComplete?.();
return;
}