docs: replace source.id with source (#1369)
typo: Fix source.id since `source` itself is the ID
This commit is contained in:
@@ -745,7 +745,7 @@ const connector = (params) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
id: `edge-${params.source.id}-${params.target}`,
|
id: `edge-${params.source}-${params.target}`,
|
||||||
source: params.source,
|
source: params.source,
|
||||||
target: params.target,
|
target: params.target,
|
||||||
label: `Edge ${params.source}-${params.target}`,
|
label: `Edge ${params.source}-${params.target}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user