Skip to content

Commit

Permalink
rm "follows you" from own profile page
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalmi committed Dec 1, 2023
1 parent 1d5107b commit d3f3e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/src/Pages/Profile/ProfilePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit d3f3e50

Please sign in to comment.