1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

add a todo

This commit is contained in:
Cooper Ransom 2024-03-28 00:16:02 -04:00
parent 2a6fd0f191
commit 5b1d8dc5a0

View file

@ -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;