We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8ed49d commit 6454538Copy full SHA for 6454538
src/subgraph/SubgraphNode.ts
@@ -60,7 +60,7 @@ export class SubgraphNode extends LGraphNode implements BaseLGraph {
60
subgraphEvents.addEventListener("input-added", (e) => {
61
const subgraphInput = e.detail.input
62
const { name, type } = subgraphInput
63
- if (this.inputs.find((i) => i.name == name))
+ if (this.inputs.some(i => i.name == name))
64
return
65
const input = this.addInput(name, type)
66
0 commit comments