From 446be5847831320be4182e49520bbb14379ac218 Mon Sep 17 00:00:00 2001 From: Vijay <74645268+vijaysingh2219@users.noreply.github.com> Date: Tue, 20 Feb 2024 16:18:36 +0530 Subject: [PATCH] Fix ESLint warning in HeroPart.tsx --- src/pages/parts/home/HeroPart.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pages/parts/home/HeroPart.tsx b/src/pages/parts/home/HeroPart.tsx index bf39c099..9fdea893 100644 --- a/src/pages/parts/home/HeroPart.tsx +++ b/src/pages/parts/home/HeroPart.tsx @@ -1,5 +1,4 @@ import { useCallback, useEffect, useRef, useState } from "react"; -import { useTranslation } from "react-i18next"; import Sticky from "react-sticky-el"; import { useWindowSize } from "react-use"; @@ -26,7 +25,6 @@ function getTimeOfDay(date: Date): "night" | "morning" | "day" { export function HeroPart({ setIsSticky, searchParams }: HeroPartProps) { const { t: randomT } = useRandomTranslation(); - const { t } = useTranslation(); const [search, setSearch, setSearchUnFocus] = searchParams; const [, setShowBg] = useState(false); const bannerSize = useBannerSize();