no log: Remove pending subtitles after starting the upload process

This commit is contained in:
LASER-Yi 2021-08-26 23:34:56 +08:00
parent 75d85d0551
commit 4887b3dcdd
1 changed files with 1 additions and 0 deletions

View File

@ -279,6 +279,7 @@ export default function SubtitleUploadModal<T>(
disabled={!canUpload || !showTable}
onClick={() => {
upload(pending);
setFiles([]);
closeModal();
}}
>