Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
Saelmala committed Nov 15, 2024
1 parent 723a582 commit d4a015b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/modal/addSrtModal/AddSrtModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,13 @@ export function AddSrtModal({
}
}, [passphrase]);

useEffect(() => {
if (ingestName) {
setIsIngestNameError(false);
setIsDuplicateNameError(false);
}
}, [ingestName]);

const handleCloseModal = () => {
setIsNameError(false);
setIsIngestNameError(false);
Expand Down

0 comments on commit d4a015b

Please sign in to comment.