Skip to content

Commit c974e7c

Browse files
committed
fix(attachments) Add default value for filePreviewPaths in case they are not provided
1 parent 2e54d01 commit c974e7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal_packages/attachments/lib/message-attachments.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class MessageAttachments extends Component {
1616

1717
static defaultProps = {
1818
downloads: {},
19+
filePreviewPaths: {},
1920
}
2021

2122
onOpenAttachment = (file) => {

0 commit comments

Comments
 (0)