From 4c7c240820f231d3e0b1ef75adaf715c541c58eb Mon Sep 17 00:00:00 2001 From: LASER-Yi Date: Sun, 20 Mar 2022 20:50:59 +0800 Subject: [PATCH] Fix #1769 --- frontend/src/components/modals/SubtitleUploadModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/modals/SubtitleUploadModal.tsx b/frontend/src/components/modals/SubtitleUploadModal.tsx index c77bd980b..76693abbc 100644 --- a/frontend/src/components/modals/SubtitleUploadModal.tsx +++ b/frontend/src/components/modals/SubtitleUploadModal.tsx @@ -92,7 +92,7 @@ function SubtitleUploadModal(props: ComponentProps) { language: initialLanguage, forced: false, hi: false, - payload: initialRef.current, + payload: { ...initialRef.current }, })); if (update) {