From 18a1d4df361be1dd044fb3cb667bc5a38a1a9e52 Mon Sep 17 00:00:00 2001 From: Andrei Dekterev Date: Tue, 26 Apr 2022 22:30:34 +0700 Subject: [PATCH] fix(#2386): fix size popup iframe --- .../BuyMatchPopup/components/BrazilPayment/index.tsx | 5 +++-- src/helpers/clientCountry/index.tsx | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/features/BuyMatchPopup/components/BrazilPayment/index.tsx b/src/features/BuyMatchPopup/components/BrazilPayment/index.tsx index d45cd9e8..c064a446 100644 --- a/src/features/BuyMatchPopup/components/BrazilPayment/index.tsx +++ b/src/features/BuyMatchPopup/components/BrazilPayment/index.tsx @@ -2,9 +2,10 @@ import { useEffect, useState } from 'react' 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' @@ -50,7 +51,7 @@ export const BrazilPayment = ({ return ( {src && open ? ( -