import emojify from '@/utils/emojify' import { Avatar } from 'flowbite-react' import { Entity } from 'megalodon' import { useRouter } from 'next/router' type Props = { user: Entity.Account } export default function User(props: Props) { const router = useRouter() const openUser = (id: string) => { router.push({ query: { id: router.query.id, timeline: router.query.timeline, user_id: id, detail: true } }) } return (
@{props.user.acct}