fix: return render function

This commit is contained in:
Braks
2021-08-08 19:28:45 +02:00
parent 6347cf97cb
commit e2162c95a8
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -136,7 +136,7 @@ export default defineComponent({
/>
) : null;
return (
return () => (
<>
<path
class="revue-flow__edge-path"
+1 -1
View File
@@ -34,7 +34,7 @@ export default defineComponent({
const markerEnd = reactify((arrowHeadType?: ArrowHeadType, markerEndId?: string) => getMarkerEnd(arrowHeadType, markerEndId));
return (
return () => (
<>
<path
style={props.style}