Rewrite GIFV component with React hooks (#24552)

This commit is contained in:
fusagiko / takayamaki
2023-04-16 23:09:04 +09:00
committed by GitHub
parent e5c0b16735
commit cf3fa1e814
4 changed files with 70 additions and 78 deletions

View File

@@ -186,7 +186,7 @@ class MediaModal extends ImmutablePureComponent {
src={image.get('url')}
width={width}
height={height}
key={image.get('preview_url')}
key={image.get('url')}
alt={image.get('description')}
lang={language}
onClick={this.toggleNavigation}