[Glitch] Fix crash when rendering remote post with collection card
Port 658ad9f57e to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
0da13f7632
commit
baceb78193
2 files changed
+2
-2
No files matched your search
@@ -304,7 +304,7 @@ export const DetailedStatus: React.FC<{
|
||||
);
|
||||
|
||||
if (taggedCollection) {
|
||||
media = <CollectionPreviewCard collection={taggedCollection} />;
|
||||
media = <CollectionPreviewCard collection={taggedCollection.toJS()} />;
|
||||
} else {
|
||||
media = (
|
||||
<Card
|
||||
|
||||
Reference in new issue
Block a user