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"