up
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-07-21 12:17:54 +03:30
parent 9f006b36ab
commit cd8677648e
7 changed files with 189 additions and 149 deletions
@@ -2,11 +2,11 @@ import { type FC } from 'react'
import Button from '@/components/Button'
import { Edit, ShoppingCart, TickSquare, Trash } from 'iconsax-react'
import { useGetProducts } from '../hooks/useRequestData'
import type { RequestType } from '../type/Types'
import type { RequestItemType } from '../type/Types'
import { clx } from '@/helpers/utils'
type Props = {
items: RequestType[]
items: RequestItemType[]
editingIndex: number | null
onEdit: (index: number) => void
onRemove: (index: number) => void
@@ -58,11 +58,6 @@ const RequestItemsList: FC<Props> = ({
<div className='text-sm font-medium truncate'>
{getProductTitle(item.productId)}
</div>
{item.attachments.length > 0 && (
<div className='text-description text-xs mt-1'>
{item.attachments.length} پیوست
</div>
)}
<div className='flex gap-2 mt-3'>
<button
type='button'