mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
add a todo
This commit is contained in:
parent
2a6fd0f191
commit
5b1d8dc5a0
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
import classNames from "classnames";
|
||||
import React, { useCallback } from "react";
|
||||
import React, { useCallback, useEffect } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
import { Icon, Icons } from "@/components/Icon";
|
||||
|
@ -88,6 +88,8 @@ export function NextEpisodeButton(props: {
|
|||
props.onChange?.(metaCopy);
|
||||
}, [setDirectMeta, meta, props, setShouldStartFromBeginning]);
|
||||
|
||||
// TODO: If the type is a movie add a Go home button instead!
|
||||
|
||||
if (!meta?.episode || !nextEp) return null;
|
||||
if (metaType !== "show") return null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue