update create block form

This commit is contained in:
Ren Amamiya
2023-05-25 08:24:24 +07:00
parent 7aeff18a27
commit 225179dd6d
4 changed files with 133 additions and 27 deletions

View File

@@ -44,11 +44,11 @@ export default function ChatsListSelfItem() {
className="h-5 w-5 rounded bg-white object-cover"
/>
</div>
<div>
<h5 className="truncate font-medium text-zinc-200">
{profile?.nip05 || profile?.name || shortenKey(account.pubkey)}{" "}
<span className="text-zinc-600">(you)</span>
<div className="inline-flex items-baseline">
<h5 className="max-w-[9rem] truncate font-medium text-zinc-200">
{profile?.nip05 || profile?.name || shortenKey(account.pubkey)}
</h5>
<span className="text-zinc-600">(you)</span>
</div>
</a>
)}