Fixed Flow Settings Modal not updating when re-entering
This commit is contained in:
parent
faa9de996f
commit
20f0e758a4
1 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,8 @@ export default function FlowSettingsModal({
|
|||
useEffect(() => {
|
||||
setName(flow!.name);
|
||||
setDescription(flow!.description);
|
||||
}, [flow!.name, flow!.description]);
|
||||
}, [flow!.name, flow!.description, open]);
|
||||
|
||||
const [name, setName] = useState(flow!.name);
|
||||
const [description, setDescription] = useState(flow!.description);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue