rm "follows you" from own profile page
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
Martti Malmi 2023-12-01 17:54:15 +02:00
parent 1d5107bd89
commit d3f3e50c0b

View File

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