"use client"; import { PageHeader } from "@/components/ds"; import { useTenantId } from "@/hooks/useTenantId"; import { LoyaltyBreadcrumbs } from "@/modules/loyalty/components/LoyaltyBreadcrumbs"; import { LoyaltyCountsGrid, LoyaltyPageLoader, LoyaltyServiceBadge, useLoyaltyHealth, } from "@/modules/loyalty/pages/shared"; export default function ExecutiveDashboard() { const { tenantId } = useTenantId(); const health = useLoyaltyHealth(); if (!tenantId) return ; return (
} /> {health.data ? (

سرویس {health.data.service} نسخه {health.data.version} — وضعیت {health.data.status}

) : null}
); }