diff --git a/client/modules/IDE/components/EditableInput.jsx b/client/modules/IDE/components/EditableInput.jsx index 405cc61920..9f951d1de4 100644 --- a/client/modules/IDE/components/EditableInput.jsx +++ b/client/modules/IDE/components/EditableInput.jsx @@ -31,6 +31,9 @@ function EditableInput({ inputRef.current?.focus(); } }, [isEditing]); + React.useEffect(() => { + setCurrentValue(value); + }, [value]); function beginEditing() { setIsEditing(true);