Skip to content

Commit

Permalink
Fix message type
Browse files Browse the repository at this point in the history
  • Loading branch information
brichet committed Mar 25, 2024
1 parent 10a49b6 commit c76858f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jupyter-chat/src/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function ChatBody({
setMessages([]);
return;
} else if (message.type === 'msg') {
setMessages((messageGroups: IMessage[]) => [...messageGroups, message]);
setMessages((messageGroups: IChatMessage[]) => [...messageGroups, message]);
}
}

Expand Down

0 comments on commit c76858f

Please sign in to comment.