From fd615d4ea0b2dff8baec979073edc01c2d087d2f Mon Sep 17 00:00:00 2001 From: Aswathy-Deriv <96725617+aswathy-deriv@users.noreply.github.com> Date: Fri, 10 Nov 2023 11:11:23 +0400 Subject: [PATCH] Aswathy/feat: redirecting the ctrader to tradershub (#5846) * feat: redirecting the ctrader to tradershub * feat: changed the redirection of traders hub --- .../templates/navigation/main-nav/main-nav-buttons/index.tsx | 4 ++-- src/features/pages/home/hero/content/hero-cta.button.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/features/components/templates/navigation/main-nav/main-nav-buttons/index.tsx b/src/features/components/templates/navigation/main-nav/main-nav-buttons/index.tsx index 9ca2d5e5d2b..325998fb7fd 100644 --- a/src/features/components/templates/navigation/main-nav/main-nav-buttons/index.tsx +++ b/src/features/components/templates/navigation/main-nav/main-nav-buttons/index.tsx @@ -7,7 +7,7 @@ import useHandleSignup from 'components/hooks/use-handle-signup' import usePpc from 'features/hooks/use-ppc' import LanguageSwitcher from 'features/components/molecules/language-switcher' import Flex from 'features/components/atoms/flex-box' -import { handleGetTrading } from 'components/custom/utils' +import { handleRedirectToTradersHub } from 'components/custom/utils' const MainNavButtons = () => { const [is_logged_in] = useAuthCheck() @@ -25,7 +25,7 @@ const MainNavButtons = () => { gap="8x" > {is_logged_in ? ( - + ) : ( diff --git a/src/features/pages/home/hero/content/hero-cta.button.tsx b/src/features/pages/home/hero/content/hero-cta.button.tsx index da1f39987fd..238b8eec591 100644 --- a/src/features/pages/home/hero/content/hero-cta.button.tsx +++ b/src/features/pages/home/hero/content/hero-cta.button.tsx @@ -4,7 +4,7 @@ import { Localize } from 'components/localization' import useAuthCheck from 'components/hooks/use-auth-check' import Button from 'features/components/atoms/button' import useHandleSignup from 'components/hooks/use-handle-signup' -import { handleGetTrading } from 'components/custom/utils' +import { handleRedirectToTradersHub } from 'components/custom/utils' const HeroCtaButton = () => { const [is_logged_in] = useAuthCheck() @@ -15,7 +15,7 @@ const HeroCtaButton = () => {