[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:
diondiondion authored and Claire committed 2026-05-08 20:27:34 +02:00
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