Merge pull request #12364 from ramonlsouza/issue-12363

fix: presentation uploader error
This commit is contained in:
Anton Georgiev 2021-05-12 14:49:42 -04:00 committed by GitHub
commit cdbaef6867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,10 +257,10 @@ class PresentationUploader extends Component {
//Updates presentation list when chat modal opens to avoid missing presentations
if (isOpen && !prevProps.isOpen) {
this.setState({
presentations: {
presentations: Object.values({
...propPresentations,
...presentations,
},
}),
});
}