From 7574c40ad646f7f1597425161eaa338e39de82e5 Mon Sep 17 00:00:00 2001 From: Justin Walrath Date: Mon, 12 May 2025 11:28:37 -0400 Subject: [PATCH] cleaning up some useEffect warnings --- src/app/[stream]/podcasts/podcastSummary.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/[stream]/podcasts/podcastSummary.tsx b/src/app/[stream]/podcasts/podcastSummary.tsx index 5e01113..ad793a6 100644 --- a/src/app/[stream]/podcasts/podcastSummary.tsx +++ b/src/app/[stream]/podcasts/podcastSummary.tsx @@ -23,7 +23,7 @@ export default function PodcastSummary({ stream }: PodcastSummaryType) { fetch(`${process.env.NEXT_PUBLIC_API_BASE_URL}/api/${stream}`) .then((res) => res.json()) .then((data) => setSummaryData(data)); - }, []); + }, [stream]); if (!summaryData) { return

Loading...

;