fix(ui): fix mis-named typeguard

This commit is contained in:
psychedelicious 2023-11-26 00:35:46 +11:00
parent ab944bd13a
commit 803fb393bb

View File

@ -71,7 +71,7 @@ export const isInvocationNode = (
export const isNotesNode = (
node?: Node<AnyNodeData>
): node is Node<NotesNodeData> => Boolean(node && node.type === 'notes');
export const isProgressImageNode = (
export const isCurrentImageNode = (
node?: Node<AnyNodeData>
): node is Node<CurrentImageNodeData> =>
Boolean(node && node.type === 'current_image');