From 6b3c64073e1d4fc5d90230ea5e74a5c809068548 Mon Sep 17 00:00:00 2001 From: DanCodes Date: Wed, 10 Jan 2024 11:05:15 +0000 Subject: [PATCH] chore: another bug fix --- src/routes/series/index.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/series/index.jsx b/src/routes/series/index.jsx index 3e8d293..e54cecb 100644 --- a/src/routes/series/index.jsx +++ b/src/routes/series/index.jsx @@ -224,7 +224,7 @@ const SeriesTitlePage = () => { const actorTp = item.data.People.filter((itm) => itm.Type === "Actor"); setActors(actorTp); } - }); + }, [item.isSuccess]); if (item.isPending || similarItems.isPending) { return ( @@ -241,6 +241,7 @@ const SeriesTitlePage = () => { ); } + if (item.isSuccess && similarItems.isSuccess) { return (