1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Update Episodes.tsx

This commit is contained in:
Abdullah Khan 2024-06-20 17:53:35 -04:00 committed by GitHub
parent 5d07a4bb56
commit 3c214ce461
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -118,8 +118,6 @@ function EpisodesView({
const newData = setPlayerMeta(loadingState.value.fullData, episodeId);
if (newData) onChange?.(newData);
}
// prevent router clear here, otherwise its done double
// player already switches route after meta change
router.close(true);
},
[setPlayerMeta, loadingState, router, onChange],