wip: migrate channel to zustand

This commit is contained in:
Ren Amamiya
2023-05-29 07:52:03 +07:00
parent ff6d494b49
commit 0492729e7e
11 changed files with 113 additions and 97 deletions

View File

@@ -44,7 +44,7 @@ export function ChatsListItem({ pubkey }: { pubkey: string }) {
</div>
<div className="inline-flex items-baseline gap-1">
<h5 className="max-w-[9rem] truncate font-medium text-zinc-200 group-hover:text-white">
{user?.nip05 || user.name || shortenKey(pubkey)}
{user?.nip05 || user?.name || shortenKey(pubkey)}
</h5>
{account?.pubkey === pubkey && (
<span className="text-zinc-500">(you)</span>