Fixed bug where name is not changed when description changes
This commit is contained in:
parent
5fd3394386
commit
eaf70303ee
1 changed files with 0 additions and 1 deletions
|
|
@ -67,7 +67,6 @@ export const EditFlowSettings: React.FC<InputProps> = ({
|
|||
}, [name, description]);
|
||||
|
||||
const handleDescriptionChange = (event: ChangeEvent<HTMLTextAreaElement>) => {
|
||||
flows.find((f) => f.id === tabId).description = event.target.value;
|
||||
setCurrentDescription(flows.find((f) => f.id === tabId).description);
|
||||
setDescription(event.target.value);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue