import './account-block.css'; // import { useNavigate } from 'react-router-dom'; import enhanceContent from '../utils/enhance-content'; import niceDateTime from '../utils/nice-date-time'; 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, }) { if (skeleton) { return (