Aykut Saraç преди 3 години
родител
ревизия
d45a5a06df
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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) {