From de55ca88b011be39533a68d33257a74c1fa58fc5 Mon Sep 17 00:00:00 2001 From: Mirlan Date: Tue, 23 Mar 2021 19:43:04 +0600 Subject: [PATCH] fix(925): buy match condition change (#339) --- src/features/Matches/helpers/getMatchClickAction/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/Matches/helpers/getMatchClickAction/index.tsx b/src/features/Matches/helpers/getMatchClickAction/index.tsx index 6ac3bb11..3b561a6e 100644 --- a/src/features/Matches/helpers/getMatchClickAction/index.tsx +++ b/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: