summaryrefslogtreecommitdiffhomepage
path: root/frontend/src/components/modals/SubtitleUploadModal.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/modals/SubtitleUploadModal.tsx')
-rw-r--r--frontend/src/components/modals/SubtitleUploadModal.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/src/components/modals/SubtitleUploadModal.tsx b/frontend/src/components/modals/SubtitleUploadModal.tsx
index ac6edd14b..eba982ed5 100644
--- a/frontend/src/components/modals/SubtitleUploadModal.tsx
+++ b/frontend/src/components/modals/SubtitleUploadModal.tsx
@@ -279,6 +279,7 @@ export default function SubtitleUploadModal<T>(
disabled={!canUpload || !showTable}
onClick={() => {
upload(pending);
+ setFiles([]);
closeModal();
}}
>