'use client'; import { OrderCard } from './components/order-card'; import { type SlotComponentProps } from './types'; import { useSlotQuery } from '@/hooks/slots'; import { cn } from '@repo/ui/lib/utils'; export function OrdersList({ className, documentId, }: Readonly & { readonly className?: string }) { const { data } = useSlotQuery({ documentId }); const slot = data?.data?.slot; return (

Записи

{slot?.orders.map((order) => { return order && ; })}
); }