mirror of
https://github.com/sussy-code/smov.git
synced 2025-01-01 16:37:39 +01:00
Fix ESLint warning in HeroPart.tsx
This commit is contained in:
parent
60d5c5d05c
commit
446be58478
1 changed files with 0 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
import { useCallback, useEffect, useRef, useState } from "react";
|
import { useCallback, useEffect, useRef, useState } from "react";
|
||||||
import { useTranslation } from "react-i18next";
|
|
||||||
import Sticky from "react-sticky-el";
|
import Sticky from "react-sticky-el";
|
||||||
import { useWindowSize } from "react-use";
|
import { useWindowSize } from "react-use";
|
||||||
|
|
||||||
|
@ -26,7 +25,6 @@ function getTimeOfDay(date: Date): "night" | "morning" | "day" {
|
||||||
|
|
||||||
export function HeroPart({ setIsSticky, searchParams }: HeroPartProps) {
|
export function HeroPart({ setIsSticky, searchParams }: HeroPartProps) {
|
||||||
const { t: randomT } = useRandomTranslation();
|
const { t: randomT } = useRandomTranslation();
|
||||||
const { t } = useTranslation();
|
|
||||||
const [search, setSearch, setSearchUnFocus] = searchParams;
|
const [search, setSearch, setSearchUnFocus] = searchParams;
|
||||||
const [, setShowBg] = useState(false);
|
const [, setShowBg] = useState(false);
|
||||||
const bannerSize = useBannerSize();
|
const bannerSize = useBannerSize();
|
||||||
|
|
Loading…
Reference in a new issue