diff --git a/app/javascript/mastodon/components/account.jsx b/app/javascript/mastodon/components/account.jsx
index 0e2295e3a..6a0682e9c 100644
--- a/app/javascript/mastodon/components/account.jsx
+++ b/app/javascript/mastodon/components/account.jsx
@@ -151,7 +151,7 @@ class Account extends ImmutablePureComponent {
const firstVerifiedField = account.get('fields').find(item => !!item.get('verified_at'));
if (firstVerifiedField) {
- verification = <>· >;
+ verification = <>· >;
}
return (
diff --git a/app/javascript/mastodon/components/verified_badge.jsx b/app/javascript/mastodon/components/verified_badge.jsx
deleted file mode 100644
index 3d878d5dd..000000000
--- a/app/javascript/mastodon/components/verified_badge.jsx
+++ /dev/null
@@ -1,25 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import Icon from 'mastodon/components/icon';
-
-class VerifiedBadge extends React.PureComponent {
-
- static propTypes = {
- link: PropTypes.string.isRequired,
- verifiedAt: PropTypes.string.isRequired,
- };
-
- render () {
- const { link } = this.props;
-
- return (
-
-
-
-
- );
- }
-
-}
-
-export default VerifiedBadge;
\ No newline at end of file
diff --git a/app/javascript/mastodon/components/verified_badge.tsx b/app/javascript/mastodon/components/verified_badge.tsx
new file mode 100644
index 000000000..78686b521
--- /dev/null
+++ b/app/javascript/mastodon/components/verified_badge.tsx
@@ -0,0 +1,14 @@
+import React from 'react';
+import { Icon } from './icon';
+
+type Props = {
+ link: string;
+};
+export const VerifiedBadge: React.FC = ({ link }) => (
+
+
+
+
+);
+
+export default VerifiedBadge;