fix problem error

This commit is contained in:
hamid zarghami
2025-12-21 10:24:08 +03:30
parent 4c5e65d71e
commit 36402ee3ee
2 changed files with 5 additions and 5 deletions
@@ -187,7 +187,7 @@ function OrderTrackingPage() {
</div>
{hasServiceArea && (
<div className="absolute top-4 left-4 right-4 z-[1000] max-w-sm">
<div className="absolute top-4 left-4 right-4 z-1000 max-w-sm">
<div className="bg-blue-50/90 border border-blue-200 rounded-lg p-3 shadow-sm">
<p className="text-xs text-blue-800">
محدوده سرویسدهی روی نقشه با رنگ آبی مشخص شده است
@@ -196,7 +196,7 @@ function OrderTrackingPage() {
</div>
)}
<div className="absolute bottom-0 left-0 right-0 z-[1000]">
<div className="absolute bottom-0 left-0 right-0 z-1000">
<div className='relative w-full h-full'>
<ConfirmPositionModal
visible={confirmModal}
@@ -127,7 +127,7 @@ function UserAddressesPage({ }: Props) {
onClick={() => handleSetDefault(address.id)}
disabled={isSettingDefault}
pending={isSettingDefault}
className='!bg-background !text-foreground flex items-center gap-2 text-xs h-8 flex-1'
className='bg-background! text-foreground! flex items-center gap-2 text-xs h-8 flex-1'
>
<TickCircle variant='Bold' className='fill-foreground stroke-background size-4.5 mb-0.5' />
تنظیم به عنوان فعال
@@ -135,14 +135,14 @@ function UserAddressesPage({ }: Props) {
)}
<div className="flex gap-2">
<Link href={`address/new?id=${address.id}`}>
<Button className='!bg-background !text-foreground flex justify-center items-center gap-2 text-xs p-0! size-8!'>
<Button className='bg-background! text-foreground! flex justify-center items-center gap-2 text-xs p-0! size-8!'>
<Edit2 className='stroke-foreground size-5 mb-0.5' />
</Button>
</Link>
<Button
onClick={() => handleDeleteClick(address.id)}
disabled={isDeleting}
className='!bg-background !text-foreground flex justify-center items-center gap-2 text-xs p-0! size-8!'
className='bg-background! text-foreground! flex justify-center items-center gap-2 text-xs p-0! size-8!'
>
<Trash className='stroke-foreground size-5 mb-0.5' />
</Button>