File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/hooks Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { useMemo } from 'react'
22import { useShallow } from 'zustand/react/shallow'
33import { BlockPathCalculator } from '@/lib/workflows/blocks/block-path-calculator'
44import { SYSTEM_REFERENCE_PREFIXES } from '@/lib/workflows/sanitization/references'
5- import { isInputDefinitionTrigger } from '@/lib/workflows/triggers/input-definition-triggers'
65import { normalizeName } from '@/executor/constants'
76import { useWorkflowStore } from '@/stores/workflows/workflow/store'
87import type { Loop } from '@/stores/workflows/workflow/types'
@@ -26,11 +25,6 @@ export function useAccessibleReferencePrefixes(blockId?: string | null): Set<str
2625 const accessibleIds = new Set < string > ( ancestorIds )
2726 accessibleIds . add ( blockId )
2827
29- const starterBlock = Object . values ( blocks ) . find ( ( block ) => isInputDefinitionTrigger ( block . type ) )
30- if ( starterBlock && ancestorIds . includes ( starterBlock . id ) ) {
31- accessibleIds . add ( starterBlock . id )
32- }
33-
3428 const loopValues = Object . values ( loops as Record < string , Loop > )
3529 loopValues . forEach ( ( loop ) => {
3630 if ( ! loop ?. nodes ) return
You can’t perform that action at this time.
0 commit comments