diff --git a/src/pages/parts/player/ScrapingPart.tsx b/src/pages/parts/player/ScrapingPart.tsx index cdfb6688..a31cbaac 100644 --- a/src/pages/parts/player/ScrapingPart.tsx +++ b/src/pages/parts/player/ScrapingPart.tsx @@ -2,6 +2,7 @@ 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"; @@ -38,6 +39,7 @@ 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); @@ -151,7 +153,7 @@ export function ScrapingPart(props: ScrapingProps) { ); })} -
+