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
@@ -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>