diff --git a/src/components/account.jsx b/src/components/account.jsx index 3ec94240..4b66e7a6 100644 --- a/src/components/account.jsx +++ b/src/components/account.jsx @@ -7,6 +7,7 @@ import shortenNumber from '../utils/shorten-number'; import store from '../utils/store'; import Avatar from './avatar'; +import Icon from './icon'; import NameText from './name-text'; function Account({ account }) { @@ -129,18 +130,28 @@ function Account({ account }) { __html: enhanceContent(note, { emojis }), }} /> -
- {fields.map(({ name, value }) => ( -
- {name} -

-

- ))} -
+ {fields?.length > 0 && ( +
+ {fields.map(({ name, value, verifiedAt }) => ( +
+ + {name}{' '} + {!!verifiedAt && } + +

+

+ ))} +
+ )}

{shortenNumber(statusesCount)} Posts