Skip to content

Commit

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

Expand Down

0 comments on commit 412d4a4

Please sign in to comment.