From 537196234a085bf711cd7e576c81533a3171b4cf Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Fri, 12 Apr 2024 11:54:30 -0400 Subject: [PATCH] Fix reload button --- src/pages/parts/player/ScrapingPart.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/parts/player/ScrapingPart.tsx b/src/pages/parts/player/ScrapingPart.tsx index a31cbaac..af3ee25a 100644 --- a/src/pages/parts/player/ScrapingPart.tsx +++ b/src/pages/parts/player/ScrapingPart.tsx @@ -2,7 +2,6 @@ import { ProviderControls, ScrapeMedia } from "@movie-web/providers"; import classNames from "classnames"; import { useEffect, useRef, useState } from "react"; import { useTranslation } from "react-i18next"; -import { useNavigate } from "react-router-dom"; import { useMountedState } from "react-use"; import type { AsyncReturnType } from "type-fest"; @@ -39,7 +38,6 @@ export function ScrapingPart(props: ScrapingProps) { const { startScraping, sourceOrder, sources, currentSource } = useScrape(); const isMounted = useMountedState(); const { t } = useTranslation(); - const navigate = useNavigate(); const containerRef = useRef(null); const listRef = useRef(null); @@ -163,7 +161,7 @@ export function ScrapingPart(props: ScrapingProps) { {t("notFound.goHome")}