chore(docs): lint

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-04-11 20:29:53 +02:00
parent f4616af840
commit 4454867c36
9 changed files with 41 additions and 15 deletions
+3 -1
View File
@@ -22,7 +22,9 @@ export function getElements(xElements = 10, yElements = 10) {
source: recentNodeId.toString(),
target: nodeId.toString(),
style: (edge) => {
if (!edge.sourceNode.selected && !edge.targetNode.selected) return
if (!edge.sourceNode.selected && !edge.targetNode.selected) {
return
}
return { stroke: '#10b981', strokeWidth: 3 }
},
})