]> git.localhorst.tv Git - alttp.git/commitdiff
fix episode fetch dependency
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 20 Feb 2023 18:03:40 +0000 (19:03 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 20 Feb 2023 18:03:40 +0000 (19:03 +0100)
resources/js/components/pages/Schedule.js

index 5f82bfe3347d322d0178b86da342209a2d8129b1..c27a384a5fdddc8bbd527abb97e550b5e1057ee1 100644 (file)
@@ -42,7 +42,7 @@ const Schedule = () => {
                        controller.abort();
                        clearInterval(timer);
                };
                        controller.abort();
                        clearInterval(timer);
                };
-       }, [ahead, behind]);
+       }, [ahead, behind, fetchEpisodes]);
 
        return <Container>
                <Helmet>
 
        return <Container>
                <Helmet>