Fix crash when rendering remote post with collection card (#38959)
This commit is contained in:
1 parent
b71333921b
commit
658ad9f57e
2 files changed
+2
-2
No files matched your search
@@ -556,7 +556,7 @@ class Status extends ImmutablePureComponent {
|
||||
).find((item) => compareUrls(item.get('url'), cardUrl));
|
||||
|
||||
if (taggedCollection) {
|
||||
media = <CollectionPreviewCard collection={taggedCollection} />;
|
||||
media = <CollectionPreviewCard collection={taggedCollection.toJS()} />;
|
||||
} else {
|
||||
media = (
|
||||
<Card
|
||||
|
||||
Reference in new issue
Block a user