about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/bot_icon.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/components/bot_icon.js')
-rw-r--r--app/javascript/mastodon/components/bot_icon.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/app/javascript/mastodon/components/bot_icon.js b/app/javascript/mastodon/components/bot_icon.js
deleted file mode 100644
index 4d824e762..000000000
--- a/app/javascript/mastodon/components/bot_icon.js
+++ /dev/null
@@ -1,23 +0,0 @@
-import React from 'react';
-import ImmutablePropTypes from 'react-immutable-proptypes';
-import ImmutablePureComponent from 'react-immutable-pure-component';
-
-export default class BotIcon extends ImmutablePureComponent {
-
-  static propTypes = {
-    account: ImmutablePropTypes.map.isRequired,
-  };
-
-  render () {
-    const { account } = this.props;
-
-    if (account.get('bot')) {
-      return (
-        <i className='fas fa-fw fa-robot bot-icon' />
-      );
-    }
-
-    return '';
-  }
-
-}