feat: add playful empty state message for other users' profiles

- Show 'You should shame them on nostr!' when viewing profiles with no highlights
- Keep original helpful message for own profile
- Conditional based on isOwnProfile flag
This commit is contained in:
Gigi
2025-10-14 01:29:54 +02:00
parent 7464a8b505
commit cfc12e2d78

View File

@@ -221,7 +221,11 @@ const Me: React.FC<MeProps> = ({ relayPool, activeTab: propActiveTab, pubkey: pr
case 'highlights':
return highlights.length === 0 ? (
<div className="explore-error">
<p>No highlights yet. Start highlighting content to see them here!</p>
<p>
{isOwnProfile
? 'No highlights yet. Start highlighting content to see them here!'
: 'No highlights yet. You should shame them on nostr!'}
</p>
</div>
) : (
<div className="highlights-list me-highlights-list">