diff --git a/src/frontend/src/modals/genericModal/index.tsx b/src/frontend/src/modals/genericModal/index.tsx index 9d11b5bdf..a3b214c6b 100644 --- a/src/frontend/src/modals/genericModal/index.tsx +++ b/src/frontend/src/modals/genericModal/index.tsx @@ -96,6 +96,12 @@ export default function GenericModal({ } }, [inputValue, type]); + useEffect(() => { + setInputValue(value) + }, [value]) + + + const coloredContent = (inputValue || "") .replace(//g, ">")