Update SkipSegmentsView.tsx

This commit is contained in:
Pas 2026-02-04 17:46:22 -07:00
parent adbdd19e66
commit 96417a6fdf

View file

@ -36,7 +36,9 @@ export function SkipSegmentsView({ id }: { id: string }) {
display?.setTime(seconds);
};
const getSegmentTypeLabel = (type: "intro" | "recap" | "credits") => {
const getSegmentTypeLabel = (
type: "intro" | "recap" | "credits" | "preview",
) => {
switch (type) {
case "intro":
return t("player.segment.intro");
@ -44,6 +46,8 @@ export function SkipSegmentsView({ id }: { id: string }) {
return t("player.segment.recap");
case "credits":
return t("player.segment.credits");
case "preview":
return t("player.segment.preview");
default:
return type;
}