Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

fix customnode type

Aykut Saraçd45a5a06df09
diff --git a/src/containers/LiveEditor/CustomNode.tsx b/src/containers/LiveEditor/CustomNode.tsx
index 1e2ad120..00ae86fa 100644
--- a/src/containers/LiveEditor/CustomNode.tsx
+++ b/src/containers/LiveEditor/CustomNode.tsx
@@ -57,7 +57,7 @@ const CustomNode = ({ nodeProps }) => {
port={<Port style={basePortStyle} rx={10} ry={10} />}
{...nodeProps}
>
- {(nodeProps: NodeChildProps) => {
+ {(nodeProps: NodeProps) => {
const { width, height } = nodeProps;
if (data.text instanceof Object) {