feat: following badge

This commit is contained in:
codytseng
2025-10-16 22:42:24 +08:00
parent f7051ed46b
commit f23493742b
10 changed files with 67 additions and 23 deletions

View File

@@ -378,7 +378,12 @@ function ProfileItem({
className={cn('px-2 hover:bg-accent rounded-md cursor-pointer', selected && 'bg-accent')}
onClick={onClick}
>
<UserItem pubkey={userId} hideFollowButton className="pointer-events-none" />
<UserItem
userId={userId}
className="pointer-events-none"
hideFollowButton
showFollowingBadge
/>
</div>
)
}