Skip to content

Commit

Permalink
Purposely omitted activeLayout update in Canvas
Browse files Browse the repository at this point in the history
Co-authored-by: Ricardo M. <[email protected]>
  • Loading branch information
ibek and lordrip committed Oct 11, 2024
1 parent c156f01 commit c9f7a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/Visualization/Canvas/Canvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const Canvas: FunctionComponent<PropsWithChildren<CanvasProps>> = ({ enti

controller.fromModel(model, true);
setInitialized(true);
}, [activeLayout, controller, entities, visibleFlows]);
}, [controller, entities, visibleFlows]);

const handleSelection = useCallback((selectedIds: string[]) => {
setSelectedIds(selectedIds);
Expand Down

0 comments on commit c9f7a97

Please sign in to comment.