From 3256c14a20bd491f1a7b0ba4b0c1788b975e8c94 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 4 Oct 2025 09:06:24 +0300 Subject: [PATCH] chore(react/type_widgets): accidental double source config --- apps/client/src/widgets/type_widgets/relation_map/jsplumb.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/type_widgets/relation_map/jsplumb.tsx b/apps/client/src/widgets/type_widgets/relation_map/jsplumb.tsx index d304b41a9..dc8be39eb 100644 --- a/apps/client/src/widgets/type_widgets/relation_map/jsplumb.tsx +++ b/apps/client/src/widgets/type_widgets/relation_map/jsplumb.tsx @@ -68,7 +68,7 @@ export function JsPlumbItem({ x, y, children, draggable, sourceConfig, targetCon useEffect(() => { if (!targetConfig || !apiRef?.current || !containerRef.current) return; - apiRef.current.makeSource(containerRef.current, targetConfig); + apiRef.current.makeTarget(containerRef.current, targetConfig); }, [ targetConfig ]); return (