mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Fix eslint issues
This commit is contained in:
parent
ef71d7a2a4
commit
ad17b3838e
1 changed files with 4 additions and 2 deletions
|
@ -102,7 +102,7 @@ export function NextEpisodeButton(props: {
|
|||
if (countdown === 0) {
|
||||
loadNextEpisode();
|
||||
}
|
||||
}, [countdown]);
|
||||
}, [countdown, loadNextEpisode]);
|
||||
|
||||
if (!meta?.episode || !nextEp) return null;
|
||||
if (metaType !== "show") return null;
|
||||
|
@ -130,7 +130,9 @@ export function NextEpisodeButton(props: {
|
|||
className="bg-buttons-primary hover:bg-buttons-primaryHover text-buttons-primaryText flex justify-center items-center"
|
||||
>
|
||||
<Icon className="text-xl mr-1" icon={Icons.SKIP_EPISODE} />
|
||||
{countdown > 0 ? `Next episode in ${countdown} seconds` : t("player.nextEpisode.next")}
|
||||
{countdown > 0
|
||||
? `Next episode in ${countdown} seconds`
|
||||
: t("player.nextEpisode.next")}
|
||||
</Button>
|
||||
</div>
|
||||
</Transition>
|
||||
|
|
Loading…
Reference in a new issue