We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e0d2dd commit c863420Copy full SHA for c863420
examples/next/app/chat/[chatId]/message.tsx
@@ -34,8 +34,8 @@ export default function Message({
34
<div>
35
{message.parts
36
.filter(part => part.type === 'text')
37
- .map(part => (
38
- <Streamdown key={part.id}>{part.text}</Streamdown>
+ .map((part, index) => (
+ <Streamdown key={index}>{part.text}</Streamdown>
39
))}
40
</div>
41
{message.role === 'user' && (
0 commit comments