fix: return render function
This commit is contained in:
@@ -58,7 +58,7 @@ export default defineComponent({
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
return () => (
|
||||
<g
|
||||
transform={`translate(${props.x - edgeTextBox.value.width / 2} ${props.y - edgeTextBox.value.height / 2})`}
|
||||
class="revue-flow__edge-textwrapper"
|
||||
|
||||
@@ -136,7 +136,7 @@ export default defineComponent({
|
||||
/>
|
||||
) : null;
|
||||
|
||||
return (
|
||||
return () => (
|
||||
<>
|
||||
<path
|
||||
class="revue-flow__edge-path"
|
||||
|
||||
@@ -34,7 +34,7 @@ export default defineComponent({
|
||||
|
||||
const markerEnd = reactify((arrowHeadType?: ArrowHeadType, markerEndId?: string) => getMarkerEnd(arrowHeadType, markerEndId));
|
||||
|
||||
return (
|
||||
return () => (
|
||||
<>
|
||||
<path
|
||||
style={props.style}
|
||||
|
||||
Reference in New Issue
Block a user