Rewrite GIFV component with React hooks (#24552)
This commit is contained in:
parent
e5c0b16735
commit
cf3fa1e814
4 changed files with 70 additions and 78 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue