diff --git a/apps/trading/client-pages/team/team.tsx b/apps/trading/client-pages/team/team.tsx index a3b92db61..97ce7becf 100644 --- a/apps/trading/client-pages/team/team.tsx +++ b/apps/trading/client-pages/team/team.tsx @@ -107,7 +107,6 @@ export const TeamPage = ({ /> - {games && games.length ? ( @@ -124,7 +123,9 @@ export const TeamPage = ({ active={!showGames} onClick={() => setShowGames(false)} > - {t('Members ({{count}})', { count: games ? games.length : 0 })} + {t('Members ({{count}})', { + count: members ? members.length : 0, + })} {showGames ? : } @@ -134,21 +135,6 @@ export const TeamPage = ({ ); }; -const ToggleButton = ({ - active, - ...props -}: ButtonHTMLAttributes & { active: boolean }) => { - return ( -