From adf1d1689cca286244849e7292c1b8b0e2f746e8 Mon Sep 17 00:00:00 2001 From: Andrei Dekterev Date: Fri, 29 Apr 2022 18:27:27 +0700 Subject: [PATCH] fix(#2386): change logic for check country_code --- .../BuyMatchPopup/components/BrazilPayment/index.tsx | 4 +--- .../BuyMatchPopup/components/BrazilPayment/styled.tsx | 4 +++- .../BuyMatchPopup/components/PackageSelectionStep/index.tsx | 6 +++--- src/helpers/clientCountry/index.tsx | 6 ------ 4 files changed, 7 insertions(+), 13 deletions(-) delete mode 100644 src/helpers/clientCountry/index.tsx diff --git a/src/features/BuyMatchPopup/components/BrazilPayment/index.tsx b/src/features/BuyMatchPopup/components/BrazilPayment/index.tsx index 79770f17..f2e06f39 100644 --- a/src/features/BuyMatchPopup/components/BrazilPayment/index.tsx +++ b/src/features/BuyMatchPopup/components/BrazilPayment/index.tsx @@ -8,8 +8,6 @@ import { Loader } from 'features/Loader' import { useLexicsStore } from 'features/LexicsStore' import { MatchPackage } from 'features/BuyMatchPopup/types' -import { isMobileDevice } from 'config/userAgent' - import { getBrazilPaymentUrl } from 'requests/getBrazilPaymentUrl' import isNumber from 'lodash/isNumber' @@ -62,7 +60,7 @@ export const BrazilPayment = ({ return ( {src && open ? ( -