refactor(connection-line): remove <g>

This commit is contained in:
moklick
2022-05-22 14:23:20 +02:00
parent 622880ae33
commit 670b605127
-2
View File
@@ -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>
)} )}
</> </>