Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(react/type_widgets): accidental double source config
Elian Doran3256c14a20bd
diff --git a/apps/client/src/widgets/type_widgets/relation_map/jsplumb.tsx b/apps/client/src/widgets/type_widgets/relation_map/jsplumb.tsxindex d304b41a9f..dc8be39ebe 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, targetConuseEffect(() => {if (!targetConfig || !apiRef?.current || !containerRef.current) return;- apiRef.current.makeSource(containerRef.current, targetConfig);+ apiRef.current.makeTarget(containerRef.current, targetConfig);}, [ targetConfig ]);return (