Show Referrals count for each user

This commit is contained in:
Austin Chen 2022-08-21 22:53:02 -07:00
parent 88bf678ce3
commit b7790a9678

View File

@ -303,10 +303,7 @@ export function UserPage(props: { user: User }) {
>
<FollowingButton user={user} />
<FollowersButton user={user} />
{currentUser &&
['ian', 'Austin', 'SG', 'JamesGrugett'].includes(
currentUser.username
) && <ReferralsButton user={user} />}
<ReferralsButton user={user} />
<GroupsButton user={user} />
</Row>
),