rm "follows you" from own profile page
continuous-integration/drone/push Build is running Details

This commit is contained in:
Martti Malmi 2023-12-01 17:54:15 +02:00
parent 1d5107bd89
commit d3f3e50c0b
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ export default function ProfilePage({ id: propId, state }: ProfilePageProps) {
<div className="flex flex-col g4">
<h2 className="flex items-center g4">
<DisplayName user={user} pubkey={user?.pubkey ?? ""} />
<FollowsYou followsMe={follows.includes(loginPubKey ?? "")} />
<FollowsYou followsMe={user?.pubkey !== loginPubKey && follows.includes(loginPubKey ?? "")} />
</h2>
{user?.nip05 && <Nip05 nip05={user.nip05} pubkey={user.pubkey} />}
</div>