From 54643fac09dd91c3fd9acc5e09a00296811aef08 Mon Sep 17 00:00:00 2001 From: Rakov Roman Date: Fri, 22 Jul 2022 15:15:35 +0300 Subject: [PATCH] fix(#2609): modernization facr tv --- src/features/UserAccount/index.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/features/UserAccount/index.tsx b/src/features/UserAccount/index.tsx index 58ef34b2..b638ee88 100644 --- a/src/features/UserAccount/index.tsx +++ b/src/features/UserAccount/index.tsx @@ -38,7 +38,7 @@ const UserAccount = () => { usePageLogger(PAGES.useraccount) useLexicsConfig(userAccountLexics) - const isGetHighLightShown = useMemo(() => { + const isAvailableToClient = useMemo(() => { switch (client.name) { case ClientNames.Facr: return false @@ -76,15 +76,17 @@ const UserAccount = () => { > - - - + {isAvailableToClient && ( + + + + )} - {isGetHighLightShown && ( + {isAvailableToClient && (