about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-11-14 00:38:56 +0100
committerGitHub <noreply@github.com>2022-11-14 00:38:56 +0100
commit24b2c60beb73ff932b9539587e162283e99fd35d (patch)
treedb62e86cd2370e55ec993c097ff51d701f848043 /app/javascript
parent87fbd08f74451c18d2fdbef551d5933a78375b63 (diff)
Fix icons having an image role (#20600)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/components/icon.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/icon.js b/app/javascript/mastodon/components/icon.js
index d8a17722f..d3d7c591d 100644
--- a/app/javascript/mastodon/components/icon.js
+++ b/app/javascript/mastodon/components/icon.js
@@ -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} />
     );
   }