mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-30 20:27:59 -05:00
chore(ui): knip
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user