Skip to content

Commit

Permalink
Fix typing error
Browse files Browse the repository at this point in the history
  • Loading branch information
PopDaph committed Oct 18, 2023
1 parent 9e4ffb0 commit 66bf7fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/components/assistant/conversation/AgentMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export function AgentMessage({

useEventSource(buildEventSourceURL, onEventCallback);

const agentMessageToRender = (() => {
const agentMessageToRender = ((): AgentMessageType => {
switch (message.status) {
case "succeeded":
case "failed":
Expand Down

0 comments on commit 66bf7fd

Please sign in to comment.