diff --git a/invokeai/frontend/web/src/features/nodes/hooks/useFieldType.ts.ts b/invokeai/frontend/web/src/features/nodes/hooks/useFieldType.ts.ts deleted file mode 100644 index 90c08a94aa..0000000000 --- a/invokeai/frontend/web/src/features/nodes/hooks/useFieldType.ts.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { useFieldTemplate } from 'features/nodes/hooks/useFieldTemplate'; -import type { FieldType } from 'features/nodes/types/field'; -import { useMemo } from 'react'; - -export const useFieldType = (nodeId: string, fieldName: string, kind: 'inputs' | 'outputs'): FieldType => { - const fieldTemplate = useFieldTemplate(nodeId, fieldName, kind); - const fieldType = useMemo(() => fieldTemplate.type, [fieldTemplate]); - return fieldType; -};