mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix mis-named typeguard
This commit is contained in:
parent
ab944bd13a
commit
803fb393bb
@ -71,7 +71,7 @@ export const isInvocationNode = (
|
|||||||
export const isNotesNode = (
|
export const isNotesNode = (
|
||||||
node?: Node<AnyNodeData>
|
node?: Node<AnyNodeData>
|
||||||
): node is Node<NotesNodeData> => Boolean(node && node.type === 'notes');
|
): node is Node<NotesNodeData> => Boolean(node && node.type === 'notes');
|
||||||
export const isProgressImageNode = (
|
export const isCurrentImageNode = (
|
||||||
node?: Node<AnyNodeData>
|
node?: Node<AnyNodeData>
|
||||||
): node is Node<CurrentImageNodeData> =>
|
): node is Node<CurrentImageNodeData> =>
|
||||||
Boolean(node && node.type === 'current_image');
|
Boolean(node && node.type === 'current_image');
|
||||||
|
Loading…
Reference in New Issue
Block a user