update useVideoPlayer.ts

This commit is contained in:
Troray
2026-01-24 03:07:08 +08:00
parent fdb5f31154
commit 3d3a7d445b
-2
View File
@@ -171,8 +171,6 @@ export function useVideoPlayer(
if (videoId && source) {
// Reset state when source changes to ensure clean fetch
setVideoData(null);
setLoading(true);
setVideoError('');
setCurrentEpisode(0);
setPlayUrl('');
fetchVideoDetails();