"use client"; import { Loader2 } from "lucide-react"; import { useTranslations } from "next-intl"; import { Button } from "@/components/ui/button"; import { Dialog, DialogContent, DialogHeader, DialogTitle, } from "@/components/ui/dialog"; export function StudioPanelLoading({ onClose, drawer = false, }: { onClose: () => void; drawer?: boolean; }) { const t = useTranslations("pages.admin.housekeeping"); const status = (
{t("loading")}
); if (drawer) return ( ); return ( ); }