Skip to content

Commit

Permalink
Merge pull request #2924 from thematters/feat/prod-open-ipns
Browse files Browse the repository at this point in the history
  • Loading branch information
robertu7 authored Nov 16, 2022
2 parents 4190f22 + f531490 commit bdf0459
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/UserProfile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export const UserProfile = () => {
})
}, [user?.id, viewer.id])

const totalCount = user?.articles.totalCount || 0
/**
* Render
*/
Expand Down Expand Up @@ -255,7 +254,7 @@ export const UserProfile = () => {
<section className="right">
{!isMe && <FollowUserButton user={user} size="lg" />}

{totalCount !== 0 && hasTraveloggersBadge && (
{user?.articles.totalCount > 0 && user?.info.ipnsKey && (
<RssFeedButton user={user} />
)}
</section>
Expand Down

0 comments on commit bdf0459

Please sign in to comment.