Skip to content

Commit b068b42

Browse files
committed
chore(tag-dropdown): remove no-op loop node filter
1 parent f7404a3 commit b068b42

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks/use-accessible-reference-prefixes.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ export function useAccessibleReferencePrefixes(blockId?: string | null): Set<str
3737
if (!loop?.nodes) return
3838
if (loop.nodes.includes(blockId)) {
3939
accessibleIds.add(loop.id)
40-
loop.nodes.forEach((nodeId) => {
41-
if (ancestorIds.includes(nodeId)) {
42-
accessibleIds.add(nodeId)
43-
}
44-
})
4540
}
4641
})
4742

0 commit comments

Comments
 (0)