diff --git a/web/pages/group/[...slugs]/index.tsx b/web/pages/group/[...slugs]/index.tsx index d201842d..f3e66c8d 100644 --- a/web/pages/group/[...slugs]/index.tsx +++ b/web/pages/group/[...slugs]/index.tsx @@ -381,42 +381,6 @@ export function GroupMembersList(props: { group: Group }) { ) } -function YourPerformance(props: { - traderScores: { [userId: string]: number } - creatorScores: { [userId: string]: number } - - user: User | null | undefined -}) { - const { traderScores, creatorScores, user } = props - - const yourTraderScore = user ? traderScores[user.id] : undefined - const yourCreatorScore = user ? creatorScores[user.id] : undefined - - return user ? ( - -
- Your performance -
-
- - - - - - - {yourCreatorScore && ( - - - - - )} - -
Total profit{formatMoney(yourTraderScore ?? 0)}
Total created pool{formatMoney(yourCreatorScore)}
-
- - ) : null -} - function GroupLeaderboards(props: { traderScores: { [userId: string]: number } creatorScores: { [userId: string]: number }