This commit is contained in:
Kieran 2023-12-11 11:38:44 +00:00
parent 9ac66131a1
commit a23177393d
No known key found for this signature in database
GPG Key ID: DE71CEB3925BE941

View File

@ -10,5 +10,5 @@ interface MentionProps {
export function Mention({ pubkey }: MentionProps) {
const user = useUserProfile(pubkey);
const npub = hexToBech32("npub", pubkey);
return <Link to={`/p/${npub}`}>{user?.name || pubkey}</Link>;
return <Link to={`/p/${npub}`} className="text-primary">{user?.name || pubkey}</Link>;
}