Skip to content

Commit 850549c

Browse files
committed
remove extraneous comments
1 parent e543000 commit 850549c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

apps/sim/hooks/queries/workflows.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ export function useWorkflows(workspaceId?: string, options?: { scope?: WorkflowQ
6969
})
7070
}
7171

72-
// Module-scoped so TanStack Query caches the select result by function identity;
73-
// an inline arrow would return a new reference every render.
7472
const selectWorkflowMap = (data: WorkflowMetadata[]): Record<string, WorkflowMetadata> =>
7573
Object.fromEntries(data.map((w) => [w.id, w]))
7674

0 commit comments

Comments
 (0)