From d4a015be1756851c283a91ab5596464f136cdd3d Mon Sep 17 00:00:00 2001 From: Saelmala Date: Fri, 15 Nov 2024 12:37:51 +0100 Subject: [PATCH] fixup! --- src/components/modal/addSrtModal/AddSrtModal.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/modal/addSrtModal/AddSrtModal.tsx b/src/components/modal/addSrtModal/AddSrtModal.tsx index 18351bb..79a61e1 100644 --- a/src/components/modal/addSrtModal/AddSrtModal.tsx +++ b/src/components/modal/addSrtModal/AddSrtModal.tsx @@ -167,6 +167,13 @@ export function AddSrtModal({ } }, [passphrase]); + useEffect(() => { + if (ingestName) { + setIsIngestNameError(false); + setIsDuplicateNameError(false); + } + }, [ingestName]); + const handleCloseModal = () => { setIsNameError(false); setIsIngestNameError(false);