Rewrite GIFV component with React hooks (#24552)
This commit is contained in:
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}
|
||||
|
||||
Reference in new issue
Block a user