import Link from "next/link"; import { DELAY_REASON_NAMES, type DelayView } from "@peppa/core"; import { Badge } from "@/components/ui/badge"; import { Key } from "@/components/common"; import { getT } from "@/lib/i18n"; /** * PEP-150: what is held up on the platform's side right now — the superadmin's list on the * home page. Owners see one line on the story instead; a row leaves when its cause is gone. */ export async function PlatformDelays({ delays }: { delays: DelayView[] }) { const t = await getT(); const hhmm = (ms: number) => new Date(ms).toLocaleString("ru-RU", { day: "2-digit", month: "2-digit", hour: "2-digit", minute: "2-digit" }); return ( ); }