refactor(connection-line): remove <g>
This commit is contained in:
@@ -197,7 +197,6 @@ const EdgeRenderer = (props: EdgeRendererProps) => {
|
|||||||
height={height}
|
height={height}
|
||||||
className="react-flow__edges react-flow__connectionline react-flow__container"
|
className="react-flow__edges react-flow__connectionline react-flow__container"
|
||||||
>
|
>
|
||||||
<g>
|
|
||||||
<ConnectionLine
|
<ConnectionLine
|
||||||
connectionNodeId={connectionNodeId!}
|
connectionNodeId={connectionNodeId!}
|
||||||
connectionHandleId={connectionHandleId}
|
connectionHandleId={connectionHandleId}
|
||||||
@@ -209,7 +208,6 @@ const EdgeRenderer = (props: EdgeRendererProps) => {
|
|||||||
isConnectable={nodesConnectable}
|
isConnectable={nodesConnectable}
|
||||||
CustomConnectionLineComponent={connectionLineComponent}
|
CustomConnectionLineComponent={connectionLineComponent}
|
||||||
/>
|
/>
|
||||||
</g>
|
|
||||||
</svg>
|
</svg>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user