fix: reset player error on episode change

This commit is contained in:
Kentai Radiquum 2025-03-26 15:53:27 +05:00
parent 07c93338cb
commit 04b580d239
Signed by: Radiquum
GPG key ID: 858E8EE696525EED

View file

@ -342,6 +342,8 @@ export const ReleasePlayerCustom = (props: {
setIsLoading(false);
};
if (episode.selected) {
setIsLoading(true);
setPlayerError(null);
__getInfo();
}
}, [episode.selected]);