[Glitch] Fix icons having an image role

Port 24b2c60beb to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
local
Eugen Rochko 2 years ago committed by Claire
parent e9eab013e7
commit 7835f8fd22
  1. 2
      app/javascript/flavours/glitch/components/icon.jsx

@ -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} />
);
}

Loading…
Cancel
Save