feat(ott-2771): broadcast fix

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

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

Loading…
Cancel
Save