Disable ESLint rule jsx/anchor-has-content (#3601)
This commit is contained in:
parent
7adac1bc51
commit
e969c78645
2 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ class Item extends React.PureComponent {
|
|||
|
||||
if (attachment.get('type') === 'image') {
|
||||
thumbnail = (
|
||||
<a
|
||||
<a // eslint-disable-line jsx-a11y/anchor-has-content
|
||||
className='media-gallery__item-thumbnail'
|
||||
href={attachment.get('remote_url') || attachment.get('url')}
|
||||
onClick={this.handleClick}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue