Przeglądaj źródła

fix customnode type

Aykut Saraç 3 lat temu
rodzic
commit
d45a5a06df
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/containers/LiveEditor/CustomNode.tsx

+ 1 - 1
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) {