Fix useEffect dependency in PlaygroundPage component

This commit is contained in:
anovazzi1 2024-04-26 17:59:05 -03:00
commit 32bfca24d0

View file

@ -35,7 +35,7 @@ export default function PlaygroundPage() {
setCurrentFlow(flow); setCurrentFlow(flow);
}); });
} }
}, [currentFlow]); }, [id]);
useEffect(() => { useEffect(() => {
if (currentFlow) { if (currentFlow) {