Removed fit view
This commit is contained in:
parent
775bcee035
commit
2ea05c9b66
1 changed files with 0 additions and 1 deletions
|
|
@ -170,7 +170,6 @@ export default function Page({
|
|||
setEdges(flow?.data?.edges ?? []);
|
||||
if (reactFlowInstance) {
|
||||
setViewport(flow?.data?.viewport ?? { x: 1, y: 0, zoom: 0.5 });
|
||||
reactFlowInstance.fitView();
|
||||
}
|
||||
}, [flow, reactFlowInstance, setEdges, setNodes, setViewport]);
|
||||
//set extra sidebar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue