Rewrite GIFV component with React hooks (#24552)

This commit is contained in:
fusagiko / takayamaki authored and GitHub committed 2023-04-16 16:09:04 +02:00
1 parent e5c0b16735
commit cf3fa1e814
4 files changed
+70 -78

No files matched your search

@@ -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}