"use client"; import { useTranslations } from "next-intl"; import { Skeleton } from "@/components/ui/skeleton"; import type { DocumentsEmptyReason } from "@/lib/documents/documents-view-model"; export function DocumentsEmptyState({ reason }: { reason: DocumentsEmptyReason }) { const t = useTranslations("documents"); if (reason.kind === "loading") { return (
{title}
{description}