chore: tweak follows you
This commit is contained in:
parent
ac8d3373cf
commit
b76fc97929
@ -21,7 +21,7 @@ export default function FollowsYou({ pubkey }: FollowsYouProps ) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{ followsMe ? <div className="copy"><span className="body">follows you</span></div> : null }
|
{ followsMe ? <span className="pill">follows you</span> : null }
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -51,14 +51,7 @@ export default function ProfilePage() {
|
|||||||
<h2>{user?.display_name || user?.name || 'Nostrich'}</h2>
|
<h2>{user?.display_name || user?.name || 'Nostrich'}</h2>
|
||||||
<Copy text={params.id || ""} />
|
<Copy text={params.id || ""} />
|
||||||
{user?.nip05 && <Nip05 nip05={user.nip05} pubkey={user.pubkey} />}
|
{user?.nip05 && <Nip05 nip05={user.nip05} pubkey={user.pubkey} />}
|
||||||
{ followsYou() }
|
<FollowsYou pubkey={id} />
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
function followsYou(){
|
|
||||||
return (
|
|
||||||
<div className="flex">
|
|
||||||
<div className="f-grow">{ <FollowsYou pubkey={id}/> }</div>
|
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user