From 91eabaa175f4f8be4d721cc282f3706086c4e4eb Mon Sep 17 00:00:00 2001 From: Inokentii Mazhara Date: Fri, 27 Oct 2023 17:44:38 +0300 Subject: [PATCH] TW-1104 Remove a redundant hook call --- src/app/pages/Home/OtherComponents/Tokens/AcceptAdsBanner.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/pages/Home/OtherComponents/Tokens/AcceptAdsBanner.tsx b/src/app/pages/Home/OtherComponents/Tokens/AcceptAdsBanner.tsx index 786217053..d43fa5b2d 100644 --- a/src/app/pages/Home/OtherComponents/Tokens/AcceptAdsBanner.tsx +++ b/src/app/pages/Home/OtherComponents/Tokens/AcceptAdsBanner.tsx @@ -3,7 +3,6 @@ import React, { FC, useCallback, useMemo } from 'react'; import { useDispatch } from 'react-redux'; import { Banner, BannerButtonProps } from 'app/atoms/Banner'; -import { useUserAnalyticsAndAdsSettings } from 'app/hooks/use-user-analytics-and-ads-settings.hook'; import { togglePartnersPromotionAction } from 'app/store/partners-promotion/actions'; import { setAdsBannerVisibilityAction } from 'app/store/settings/actions'; import { T } from 'lib/i18n'; @@ -14,7 +13,6 @@ import { AssetsSelectors } from '../Assets.selectors'; export const AcceptAdsBanner: FC = () => { const dispatch = useDispatch(); - useUserAnalyticsAndAdsSettings(); const onEnableButtonClick = useCallback(() => { dispatch(togglePartnersPromotionAction(true)); dispatch(setAdsBannerVisibilityAction(false));