import './account-block.css'; import { Plural, t, Trans } from '@lingui/macro'; // import { useNavigate } from 'react-router-dom'; import enhanceContent from '../utils/enhance-content'; import niceDateTime from '../utils/nice-date-time'; import shortenNumber from '../utils/shorten-number'; import states from '../utils/states'; import Avatar from './avatar'; import EmojiText from './emoji-text'; import Icon from './icon'; function AccountBlock({ skeleton, account, avatarSize = 'xl', useAvatarStatic = false, instance, external, internal, onClick, showActivity = false, showStats = false, accountInstance, hideDisplayName = false, relationship = {}, excludeRelationshipAttrs = [], }) { if (skeleton) { return (