fix(925): buy match condition change (#339)

keep-around/af30b88d367751c9e05a735e4a0467a96238ef47
Mirlan 5 years ago committed by GitHub
parent c1570107be
commit de55ca88b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/features/Matches/helpers/getMatchClickAction/index.tsx

@ -17,10 +17,10 @@ export const getMatchAccess = ({
sub,
}: Match) => {
switch (true) {
case !access:
return MatchAccess.NoCountryAccess
case !sub:
return MatchAccess.CanBuyMatch
case !access:
return MatchAccess.NoCountryAccess
case !calc && has_video:
return MatchAccess.RedirectToProfile
case live:

Loading…
Cancel
Save