refactor(react): use size instead of dimensions, cleanup defaul node handling
This commit is contained in:
@@ -26,7 +26,7 @@ function Wrapper({
|
||||
}
|
||||
|
||||
return (
|
||||
<ReactFlowProvider nodes={nodes} edges={edges} width={width} height={height}>
|
||||
<ReactFlowProvider initialNodes={nodes} initialEdges={edges} initialWidth={width} initialHeight={height}>
|
||||
{children}
|
||||
</ReactFlowProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user