✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
fix node export
AykutSarac7e2c760951ac
diff --git a/src/components/CustomNode/index.tsx b/src/components/CustomNode/index.tsxindex 3d5f2879..f69c8140 100644--- a/src/components/CustomNode/index.tsx+++ b/src/components/CustomNode/index.tsx@@ -18,7 +18,7 @@ const baseLabelStyle = {strokeWidth: 0,};-export const CustomNode = React.memo((nodeProps: NodeProps) => {+const CustomNode = (nodeProps: NodeProps) => {const { properties: data } = nodeProps;return (@@ -52,4 +52,8 @@ export const CustomNode = React.memo((nodeProps: NodeProps) => {}}</Node>);-});+};++const MemoizedCustomNode = React.memo(CustomNode);++export { MemoizedCustomNode as CustomNode };