Skip to content

Commit

Permalink
fix typings
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenmarcus committed Feb 29, 2024
1 parent 2980b5e commit f34c7e4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ai-chat/src/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,8 @@ const Chat = () => {
{messages.length > 0 ? (
messages.map(
(
message: {
role: "user" | "admin" | "assistant" | "function";
content: string;
},
index: number
message,
index
) => {
return (
<div
Expand Down

0 comments on commit f34c7e4

Please sign in to comment.