"use client"; import { useTranslations } from "next-intl"; import { CatalogExportClient } from "@/app/admin/studio/sync/catalog-export-client"; import Link from "@/components/link"; import { refreshCatalogTree } from "@/features/catalog/client/use-live-catalog"; import { FurnitureJobHistory } from "./studio/furniture-jobs"; import { useFurnitureJobs } from "./studio/use-furniture-jobs"; export function OperationsCenter() { const t = useTranslations("pages.admin.operationsCenter"); // Keep the live catalog in step with imports that finish while this tab is open. const jobs = useFurnitureJobs(() => void refreshCatalogTree(), true); return (
{t("hint")}
{t("syncHint")}
{t("openSync")} {t("openImports")}