From ab950186be6288ec8c4870fdac2ab2a384f90b46 Mon Sep 17 00:00:00 2001 From: bartoval Date: Fri, 13 Dec 2024 17:12:05 +0100 Subject: [PATCH] fix: :lady_beetle: ExcludeBehaviors undefined crash the graph --- src/core/components/SkGraph/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/components/SkGraph/index.tsx b/src/core/components/SkGraph/index.tsx index e190140b..ce3435af 100644 --- a/src/core/components/SkGraph/index.tsx +++ b/src/core/components/SkGraph/index.tsx @@ -28,7 +28,7 @@ const SkGraph: FC = memo( itemSelected, layout = 'default', savePositions = true, - excludeBehaviors + excludeBehaviors = [] }) => { const [isGraphLoaded, setIsGraphLoaded] = useState(false); const topologyGraphRef = useRef(null);