feat(ott-2771): broadcast fix

keep-around/b214ac7012ef42593bee62c207888a2593bc5a38
Rita 3 years ago
parent b4870dc74a
commit 9dd9227a5b
  1. 17
      src/features/TournamentList/components/CollapseTournament/index.tsx

@ -1,5 +1,3 @@
import { Fragment } from 'react'
import { ProfileTypes } from 'config'
import { T9n } from 'features/T9n'
@ -86,14 +84,13 @@ export const CollapseTournament = ({
)}
</SecondaryInfo>
<CountMatches>
{tournamentMatches.length > 1 ? (
<Fragment>
{tournamentMatches.length}
&nbsp;
<T9n t='broadcasts' />
</Fragment>
)
: <T9n t='broadcast' />}
{tournamentMatches.length}
&nbsp;
{
tournamentMatches.length > 1
? <T9n t='broadcasts' />
: <T9n t='broadcast' />
}
</CountMatches>
</Info>
</CardWrapper>

Loading…
Cancel
Save