From 04b580d239c5746fba510634d21a665a86211d7a Mon Sep 17 00:00:00 2001 From: Radiquum Date: Wed, 26 Mar 2025 15:53:27 +0500 Subject: [PATCH] fix: reset player error on episode change --- app/components/ReleasePlayer/ReleasePlayerCustom.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/components/ReleasePlayer/ReleasePlayerCustom.tsx b/app/components/ReleasePlayer/ReleasePlayerCustom.tsx index feec08c..75f62ca 100644 --- a/app/components/ReleasePlayer/ReleasePlayerCustom.tsx +++ b/app/components/ReleasePlayer/ReleasePlayerCustom.tsx @@ -342,6 +342,8 @@ export const ReleasePlayerCustom = (props: { setIsLoading(false); }; if (episode.selected) { + setIsLoading(true); + setPlayerError(null); __getInfo(); } }, [episode.selected]);