"use client"; import { useI18n } from "@/lib/i18n/useI18n"; import type { RecapMachine } from "@/lib/recap/types"; type Props = { machine: RecapMachine | null; }; export default function RecapMachineStatus({ machine }: Props) { const { t, locale } = useI18n(); if (!machine) { return (
{t("recap.empty.production")}
); } const isStopped = (machine.downtime.ongoingStopMin ?? 0) > 0; return (
{t("recap.machine.title")}
); }