move FollowedBy below bio in profile
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
Martti Malmi 2023-11-29 15:36:51 +02:00
parent 902e2dd960
commit b37d2b0fe8

View File

@ -160,7 +160,6 @@ export default function ProfilePage({ id: propId, state }: ProfilePageProps) {
<FollowsYou followsMe={follows.includes(loginPubKey ?? "")} /> <FollowsYou followsMe={follows.includes(loginPubKey ?? "")} />
</h2> </h2>
{user?.nip05 && <Nip05 nip05={user.nip05} pubkey={user.pubkey} />} {user?.nip05 && <Nip05 nip05={user.nip05} pubkey={user.pubkey} />}
{user?.pubkey && <FollowedBy pubkey={user.pubkey} />}
</div> </div>
{showBadges && <BadgeList badges={badges} />} {showBadges && <BadgeList badges={badges} />}
{showStatus && <>{musicStatus()}</>} {showStatus && <>{musicStatus()}</>}
@ -347,6 +346,7 @@ export default function ProfilePage({ id: propId, state }: ProfilePageProps) {
<div className="details-wrapper w-max"> <div className="details-wrapper w-max">
{username()} {username()}
{bio()} {bio()}
{user?.pubkey && <FollowedBy pubkey={user.pubkey} />}
</div> </div>
); );
} }