Fix useEffect dependency in PlaygroundPage component
This commit is contained in:
parent
c5b9419e52
commit
84dc98db4b
1 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ export default function PlaygroundPage() {
|
|||
setCurrentFlow(flow);
|
||||
});
|
||||
}
|
||||
}, []);
|
||||
}, [currentFlow]);
|
||||
|
||||
useEffect(() => {
|
||||
if (currentFlow) {
|
||||
|
|
@ -44,7 +44,7 @@ export default function PlaygroundPage() {
|
|||
cleanFlowPool();
|
||||
setLoading(false);
|
||||
}
|
||||
}, [currentFlowId]);
|
||||
}, [currentFlow]);
|
||||
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue