[Glitch] Fix icons having an image role
Port c7924acf16
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
acc7cdc664
commit
5bfff5807a
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export default class Icon extends React.PureComponent {
|
||||||
const { id, className, fixedWidth, ...other } = this.props;
|
const { id, className, fixedWidth, ...other } = this.props;
|
||||||
|
|
||||||
return (
|
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} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue