diff --git a/app/javascript/__mocks__/svg.js b/app/javascript/__mocks__/svg.js
new file mode 100644
index 00000000000..e725dc2da6d
--- /dev/null
+++ b/app/javascript/__mocks__/svg.js
@@ -0,0 +1,3 @@
+// eslint-disable-next-line import/no-anonymous-default-export
+export default 'SvgrURL';
+export const ReactComponent = 'div';
diff --git a/app/javascript/mastodon/components/account.jsx b/app/javascript/mastodon/components/account.jsx
index 69189a84b40..e4e3c88b6f2 100644
--- a/app/javascript/mastodon/components/account.jsx
+++ b/app/javascript/mastodon/components/account.jsx
@@ -18,7 +18,6 @@ import { Avatar } from './avatar';
import { Button } from './button';
import { FollowersCounter } from './counters';
import { DisplayName } from './display_name';
-import { IconButton } from './icon_button';
import { RelativeTimestamp } from './relative_timestamp';
const messages = defineMessages({
@@ -45,10 +44,7 @@ class Account extends ImmutablePureComponent {
intl: PropTypes.object.isRequired,
hidden: PropTypes.bool,
minimal: PropTypes.bool,
- actionIcon: PropTypes.string,
- actionTitle: PropTypes.string,
defaultAction: PropTypes.string,
- onActionClick: PropTypes.func,
withBio: PropTypes.bool,
};
@@ -76,12 +72,8 @@ class Account extends ImmutablePureComponent {
this.props.onMuteNotifications(this.props.account, false);
};
- handleAction = () => {
- this.props.onActionClick(this.props.account);
- };
-
render () {
- const { account, intl, hidden, withBio, onActionClick, actionIcon, actionTitle, defaultAction, size, minimal } = this.props;
+ const { account, intl, hidden, withBio, defaultAction, size, minimal } = this.props;
if (!account) {
return