From b390b34227b83fd314f393f2ba6202991fce7e35 Mon Sep 17 00:00:00 2001 From: Thisyahlen Date: Tue, 10 Jan 2023 14:23:38 +0800 Subject: [PATCH] fix: hide trade button in eu if user has no account --- .../src/components/options-multipliers-listing/index.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/appstore/src/components/options-multipliers-listing/index.tsx b/packages/appstore/src/components/options-multipliers-listing/index.tsx index 943e67474119..4c5ab6e03ea2 100644 --- a/packages/appstore/src/components/options-multipliers-listing/index.tsx +++ b/packages/appstore/src/components/options-multipliers-listing/index.tsx @@ -22,7 +22,7 @@ const OptionsAndMultipliersListing = () => { is_demo, content_flag, } = traders_hub; - const { is_landing_company_loaded, is_eu } = client; + const { is_landing_company_loaded, is_eu, has_maltainvest_account } = client; const low_risk_cr_non_eu = content_flag === ContentFlag.LOW_RISK_CR_NON_EU; @@ -99,7 +99,11 @@ const OptionsAndMultipliersListing = () => {