Fix React warning about tabIndex on status with CW (#5432)
This commit is contained in:
parent
e6c9756fa9
commit
2d395324e1
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ export default class StatusContent extends React.PureComponent {
|
||||||
|
|
||||||
{mentionsPlaceholder}
|
{mentionsPlaceholder}
|
||||||
|
|
||||||
<div tabIndex={!hidden && 0} className={`status__content__text ${!hidden ? 'status__content__text--visible' : ''}`} style={directionStyle} dangerouslySetInnerHTML={content} />
|
<div tabIndex={!hidden ? 0 : null} className={`status__content__text ${!hidden ? 'status__content__text--visible' : ''}`} style={directionStyle} dangerouslySetInnerHTML={content} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
} else if (this.props.onClick) {
|
} else if (this.props.onClick) {
|
||||||
|
|
Loading…
Reference in a new issue