From 09e2fd406cce616f71f4efa41b2f87ecf354d842 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Mon, 25 Mar 2024 21:25:49 -0400 Subject: [PATCH] Remove scraping part and then try sum with the episode button --- src/pages/parts/player/ScrapingPart.tsx | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/pages/parts/player/ScrapingPart.tsx b/src/pages/parts/player/ScrapingPart.tsx index b1f174840..cdfb66889 100644 --- a/src/pages/parts/player/ScrapingPart.tsx +++ b/src/pages/parts/player/ScrapingPart.tsx @@ -60,19 +60,6 @@ export function ScrapingPart(props: ScrapingProps) { }; }, [sourceOrder, sources]); - // This reloads the page if one sources takes more than 5 seconds to load - const TIMEOUT_DURATION = 5000; - - useEffect(() => { - const timeout = setTimeout(() => { - setFailedStartScrape(true); - }, TIMEOUT_DURATION); - - return () => { - clearTimeout(timeout); - }; - }, [startScraping, props, report, isMounted]); - const started = useRef(false); useEffect(() => { if (started.current) return;