Fix the Open handler for PreviewCard (#15305)

lolsob-rspec
Takeshi Umeda 2020-12-08 20:07:54 +09:00 committed by GitHub
parent 58a3eaccba
commit 14b5505c68
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ class Status extends ImmutablePureComponent {
} else if (status.get('spoiler_text').length === 0 && status.get('card')) {
media = (
<Card
onOpenMedia={this.props.onOpenMedia}
onOpenMedia={this.handleOpenMedia}
card={status.get('card')}
compact
cacheWidth={this.props.cacheMediaWidth}