Skip to content

Commit

Permalink
Remove network rewards and plus minus
Browse files Browse the repository at this point in the history
  • Loading branch information
youngkidwarrior committed Nov 22, 2024
1 parent 5e7fc4d commit b26e467
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/app/features/affiliate/screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const AffiliateScreen = () => {
<YStack width={'100%'} gap="$4" pb="$6">
<XStack alignItems="center" width={'100%'} jc="flex-end" gap="$6">
<LinkableButton href="/leaderboard" fontWeight={'bold'}>
Check Leaderboard
Leaderboard
</LinkableButton>
</XStack>
<StatsCards />
Expand All @@ -46,7 +46,6 @@ const StatsCards = () => {
$gtLg={{ fd: 'row' }}
flexWrap="wrap"
ai="flex-start"
jc="space-around"
gap="$3"
mb="$4"
width={'100%'}
Expand All @@ -65,6 +64,8 @@ const StatsCards = () => {
</>
)}
</Card>
{/*
Need to rework this
<Card $gtLg={{ flexShrink: 0, flexBasis: '32%' }} w="100%" mih={152}>
<CardHeader>
<Label color={'$color10'}>Network Rewards Share</Label>
Expand Down Expand Up @@ -92,7 +93,7 @@ const StatsCards = () => {
</Paragraph>
</>
)}
</Card>
</Card> */}
</Stack>
{affiliateStatsError && (
<Paragraph theme={'red_active'}>{affiliateStatsError?.message}</Paragraph>
Expand Down Expand Up @@ -226,15 +227,15 @@ const ReferralsListRow = ({ referral }) => {
</Stack>
</YStack>
</XStack>
<Stack als="flex-start">
{/* <Stack als="flex-start">
<Paragraph
theme={referral.send_plus_minus >= 0 ? 'green_active' : 'red_active'}
size={'$8'}
lh={'$1'}
>
{referral.send_plus_minus >= 0 ? '+' : '-'}
</Paragraph>
</Stack>
</Stack> */}
</XStack>
</Link>
</Card>
Expand Down

0 comments on commit b26e467

Please sign in to comment.