Fix icons having an image role (#20600)

This commit is contained in:
Eugen Rochko 2022-11-14 00:38:56 +01:00 committed by GitHub
parent 6a2a65dfc2
commit c7924acf16

View file

@ -14,7 +14,7 @@ export default class Icon extends React.PureComponent {
const { id, className, fixedWidth, ...other } = this.props;
return (
<i role='img' className={classNames('fa', `fa-${id}`, className, { 'fa-fw': fixedWidth })} {...other} />
<i className={classNames('fa', `fa-${id}`, className, { 'fa-fw': fixedWidth })} {...other} />
);
}