Create order
This commit is contained in:
@@ -27,7 +27,6 @@ const CreateOrderAddressSelector: FC<CreateOrderAddressSelectorProps> = ({
|
||||
<div className='grid grid-cols-1 sm:grid-cols-2 gap-3'>
|
||||
{addresses.map((address) => {
|
||||
const isSelected = selectedAddressId === address.id
|
||||
const location = [address.province, address.city].filter(Boolean).join('، ')
|
||||
|
||||
return (
|
||||
<button
|
||||
@@ -48,9 +47,6 @@ const CreateOrderAddressSelector: FC<CreateOrderAddressSelectorProps> = ({
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
{location && (
|
||||
<div className='text-xs text-description mt-1'>{location}</div>
|
||||
)}
|
||||
<div className='text-xs mt-2 line-clamp-2'>{address.address}</div>
|
||||
</button>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user