diff --git a/packages/react/src/components/ConnectionLine/index.tsx b/packages/react/src/components/ConnectionLine/index.tsx index bdf73089..143ec6ef 100644 --- a/packages/react/src/components/ConnectionLine/index.tsx +++ b/packages/react/src/components/ConnectionLine/index.tsx @@ -155,7 +155,7 @@ function ConnectionLineWrapper({ containerStyle, style, type, component }: Conne style={containerStyle} width={width} height={height} - className="react-flow__edges react-flow__connectionline react-flow__container" + className="react-flow__connectionline react-flow__container" > & { - children: ReactNode; + children?: ReactNode; }; const selector = (s: ReactFlowState) => ({ diff --git a/packages/react/src/container/GraphView/index.tsx b/packages/react/src/container/GraphView/index.tsx index e311bc7f..8ff19028 100644 --- a/packages/react/src/container/GraphView/index.tsx +++ b/packages/react/src/container/GraphView/index.tsx @@ -165,14 +165,13 @@ const GraphView = ({ noPanClassName={noPanClassName} disableKeyboardA11y={disableKeyboardA11y} rfId={rfId} - > - - + /> +