'use client'; import { ServiceCard } from '../shared/service-card'; import { type OrderComponentProps } from './types'; import { useOrderQuery } from '@/hooks/api/orders'; export function OrderServices({ documentId }: Readonly) { const { data: { order } = {} } = useOrderQuery({ documentId }); if (!order) return null; return (

Услуги

{order.services?.map( (service) => service && , )}
); }