From 528ee0ef9f37a3587e5c459996efa714c8f19e9e Mon Sep 17 00:00:00 2001 From: hasan-deriv Date: Fri, 22 Dec 2023 12:28:52 +0800 Subject: [PATCH] chore: fixed header and footer issue for market pages --- src/features/pages/markets/etf/index.tsx | 4 +++- src/pages/markets/components/sections/_hero_derived_fx.tsx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/features/pages/markets/etf/index.tsx b/src/features/pages/markets/etf/index.tsx index 9f36a6341cb..110994eefcb 100644 --- a/src/features/pages/markets/etf/index.tsx +++ b/src/features/pages/markets/etf/index.tsx @@ -12,11 +12,13 @@ import Flex from 'features/components/atoms/flex-box' import OtherMarketsSlider from 'features/components/molecules/other-markets-slider' import MainFooter from 'features/components/templates/footer/' import MainRowNavigation from 'features/components/templates/navigation/main-nav' +import { usePlatformQueryParam } from 'components/hooks/use-platform-query-param' const ETFMarket = () => { + const { is_deriv_go } = usePlatformQueryParam() return ( - + {!is_deriv_go && } - + {!is_deriv_go && }