mirror of
https://github.com/sussy-code/smov.git
synced 2025-01-01 16:37:39 +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) {
|
if (countdown === 0) {
|
||||||
loadNextEpisode();
|
loadNextEpisode();
|
||||||
}
|
}
|
||||||
}, [countdown]);
|
}, [countdown, loadNextEpisode]);
|
||||||
|
|
||||||
if (!meta?.episode || !nextEp) return null;
|
if (!meta?.episode || !nextEp) return null;
|
||||||
if (metaType !== "show") 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"
|
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} />
|
<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>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</Transition>
|
</Transition>
|
||||||
|
|
Loading…
Reference in a new issue