"not followed by anyone you follow"
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
Martti Malmi 2023-11-30 15:12:06 +02:00
parent d4b343a18c
commit 07db21d4d0
6 changed files with 12 additions and 3 deletions

View File

@ -49,6 +49,11 @@ export default function FollowedBy({ pubkey }: { pubkey: string }) {
)}
</div>
)}
{followedByFriends.size === 0 && (
<div className="text-gray-light">
<FormattedMessage defaultMessage="Not followed by anyone you follow" id="IgsWFG" />
</div>
)}
</div>
);
}

View File

@ -69,7 +69,7 @@ export function ProfileCard({
truncate={250}
/>
<UserWebsiteLink user={user} />
<FollowedBy pubkey={pubkey} />
{myPublicKey && <FollowedBy pubkey={pubkey} />}
</div>
</ControlledMenu>
);

View File

@ -15,7 +15,7 @@ export default function RightColumn() {
<SearchBox />
</div>
<div className="overflow-y-auto hide-scrollbar">
<div className="rounded-lg mt-8 text-neutral-500">
<div className="rounded-lg mt-8 text-gray-light">
<div className="font-bold text-lg">
<FormattedMessage defaultMessage="Trending notes" id="6k7xfM" />
</div>

View File

@ -346,7 +346,7 @@ export default function ProfilePage({ id: propId, state }: ProfilePageProps) {
<div className="details-wrapper w-max">
{username()}
{bio()}
{user?.pubkey && <FollowedBy pubkey={user.pubkey} />}
{user?.pubkey && loginPubKey && <FollowedBy pubkey={user.pubkey} />}
</div>
);
}

View File

@ -294,6 +294,9 @@
"9WRlF4": {
"defaultMessage": "Send"
},
"9X9Q2t": {
"defaultMessage": "Not followed by anyone you follow"
},
"9kSari": {
"defaultMessage": "Retry publishing"
},

View File

@ -97,6 +97,7 @@
"9HU8vw": "Reply",
"9SvQep": "Follows {n}",
"9WRlF4": "Send",
"9X9Q2t": "Not followed by anyone you follow",
"9kSari": "Retry publishing",
"9pMqYs": "Nostr Address",
"9wO4wJ": "Lightning Invoice",