chore(ui): knip

This commit is contained in:
psychedelicious
2025-04-11 18:51:44 +10:00
parent a12bf07fb3
commit 557e0cb3e6

View File

@@ -5,7 +5,7 @@ import { getElement } from 'features/nodes/components/sidePanel/builder/form-man
import type { NodesState } from 'features/nodes/store/types';
import type { FieldInputInstance } from 'features/nodes/types/field';
import type { AnyNode, InvocationNode, InvocationNodeData } from 'features/nodes/types/invocation';
import { isBatchNode, isGeneratorNode, isInvocationNode } from 'features/nodes/types/invocation';
import { isInvocationNode } from 'features/nodes/types/invocation';
import { isContainerElement, isNodeFieldElement } from 'features/nodes/types/workflow';
import { uniqBy } from 'lodash-es';
import { assert } from 'tsafe';
@@ -85,10 +85,6 @@ export const selectMayRedo = createSelector(
(nodes) => nodes.future.length > 0
);
export const selectHasBatchOrGeneratorNodes = createSelector(selectNodes, (nodes) =>
nodes.filter(isInvocationNode).some((node) => isBatchNode(node) || isGeneratorNode(node))
);
export const selectWorkflowName = createNodesSelector((nodes) => nodes.name);
export const selectWorkflowId = createNodesSelector((workflow) => workflow.id);