Refactor Card component to TypeScript (#36982)
This commit is contained in:
1 parent
1757a0f0f3
commit
f87f30c1ac
4 files changed
+318
-257
No files matched your search
@@ -538,9 +538,8 @@ class Status extends ImmutablePureComponent {
|
||||
} else if (status.get('card') && !status.get('quote')) {
|
||||
media = (
|
||||
<Card
|
||||
onOpenMedia={this.handleOpenMedia}
|
||||
key={`${status.get('id')}-${status.get('edited_at')}`}
|
||||
card={status.get('card')}
|
||||
compact
|
||||
sensitive={status.get('sensitive')}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user