Add required Message.id: string
This commit is contained in:
parent
dd7e51e697
commit
fca8de16c8
3 changed files with 14 additions and 2 deletions
|
@ -59,7 +59,7 @@ export class AttachmentSection extends React.Component<Props, {}> {
|
|||
case 'media':
|
||||
return (
|
||||
<MediaGridItem
|
||||
key={message.received_at}
|
||||
key={message.id}
|
||||
message={message}
|
||||
onClick={onClick}
|
||||
/>
|
||||
|
@ -67,7 +67,7 @@ export class AttachmentSection extends React.Component<Props, {}> {
|
|||
case 'documents':
|
||||
return (
|
||||
<DocumentListItem
|
||||
key={message.received_at}
|
||||
key={message.id}
|
||||
i18n={i18n}
|
||||
fileSize={firstAttachment.size}
|
||||
fileName={firstAttachment.fileName}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue