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);