From 803fb393bb0d137128da3468e7ac4a0a06828a23 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sun, 26 Nov 2023 00:35:46 +1100 Subject: [PATCH] fix(ui): fix mis-named typeguard --- invokeai/frontend/web/src/features/nodes/types/invocation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/nodes/types/invocation.ts b/invokeai/frontend/web/src/features/nodes/types/invocation.ts index 216db437b9..70403169de 100644 --- a/invokeai/frontend/web/src/features/nodes/types/invocation.ts +++ b/invokeai/frontend/web/src/features/nodes/types/invocation.ts @@ -71,7 +71,7 @@ export const isInvocationNode = ( export const isNotesNode = ( node?: Node ): node is Node => Boolean(node && node.type === 'notes'); -export const isProgressImageNode = ( +export const isCurrentImageNode = ( node?: Node ): node is Node => Boolean(node && node.type === 'current_image');