I want to see others' referrals

This commit is contained in:
Ian Philips 2022-07-28 11:16:48 -07:00
parent b6a70641a0
commit 05b0ca5cdb

View File

@ -214,6 +214,10 @@ export function UserPage(props: { user: User; currentUser?: User }) {
<Row className="gap-4">
<FollowingButton user={user} />
<FollowersButton user={user} />
{currentUser &&
['ian', 'Austin', 'SG', 'JamesGrugett'].includes(
currentUser.username
) && <ReferralsButton user={user} />}
<GroupsButton user={user} />
</Row>