Skip to content

Commit

Permalink
fix remove empty type property
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmacarthy committed Mar 27, 2024
1 parent f576835 commit ed889ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webview/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export const Chat = () => {
} as ClientMessage)
setMessages((prev) => [
...(prev || []),
{ role: USER_NAME, content: input, type: '' }
{ role: USER_NAME, content: input }
])
if (isAutoScrolledEnabled) scrollBottom()
}
Expand Down

0 comments on commit ed889ba

Please sign in to comment.