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:
parent
5d07a4bb56
commit
3c214ce461
1 changed files with 0 additions and 2 deletions
|
@ -118,8 +118,6 @@ function EpisodesView({
|
||||||
const newData = setPlayerMeta(loadingState.value.fullData, episodeId);
|
const newData = setPlayerMeta(loadingState.value.fullData, episodeId);
|
||||||
if (newData) onChange?.(newData);
|
if (newData) onChange?.(newData);
|
||||||
}
|
}
|
||||||
// prevent router clear here, otherwise its done double
|
|
||||||
// player already switches route after meta change
|
|
||||||
router.close(true);
|
router.close(true);
|
||||||
},
|
},
|
||||||
[setPlayerMeta, loadingState, router, onChange],
|
[setPlayerMeta, loadingState, router, onChange],
|
||||||
|
|
Loading…
Reference in a new issue