update replies

This commit is contained in:
Ren Amamiya
2023-07-17 13:37:01 +07:00
parent b3b790588a
commit 5606dcb32f
11 changed files with 193 additions and 56 deletions

View File

@@ -9,7 +9,7 @@ export function MentionUser({ pubkey }: { pubkey: string }) {
type="button"
className="break-words rounded bg-zinc-800 px-2 py-px text-sm font-normal text-blue-400 no-underline hover:bg-zinc-700 hover:text-blue-500"
>
@{user?.name || user?.displayName || shortenKey(pubkey)}
{'@' + user?.name || user?.displayName || shortenKey(pubkey)}
</button>
);
}