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

@ -37,7 +37,7 @@ export default function ProfileList({ pubkeys }: { pubkeys: string[] }) {
return (
<div className="px-4 pt-2">
{visiblePubkeys.map((pubkey, index) => (
<UserItem key={`${index}-${pubkey}`} pubkey={pubkey} />
<UserItem key={`${index}-${pubkey}`} userId={pubkey} />
))}
{pubkeys.length > visiblePubkeys.length && <div ref={bottomRef} />}
</div>