|
|
@ -38,7 +38,9 @@ function Address({ |
|
|
|
<div className="flex flex-1 flex-col mr-2"> |
|
|
|
<div className="flex flex-1 flex-col mr-2"> |
|
|
|
<li |
|
|
|
<li |
|
|
|
className={`text-right text-sm font-semibold leading-5 text-blue52 ${ |
|
|
|
className={`text-right text-sm font-semibold leading-5 text-blue52 ${ |
|
|
|
userAddressId === address?.id ? "dark:text-blueC0" : "dark:text-gray-400" |
|
|
|
userAddressId === address?.id |
|
|
|
|
|
|
|
? "dark:text-blueC0" |
|
|
|
|
|
|
|
: "dark:text-gray-400" |
|
|
|
}`}
|
|
|
|
}`}
|
|
|
|
> |
|
|
|
> |
|
|
|
{address.address} |
|
|
|
{address.address} |
|
|
@ -82,6 +84,10 @@ function Address({ |
|
|
|
شماره تماس: {address.cellphone} |
|
|
|
شماره تماس: {address.cellphone} |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div className="flex flex-col items-center gap-y-5"> |
|
|
|
|
|
|
|
<button class="text-sm cursor-pointer">حذف</button> |
|
|
|
|
|
|
|
<button class="text-sm cursor-pointer">ویرایش</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
</button> |
|
|
|
</button> |
|
|
|
); |
|
|
|
); |
|
|
|
}; |
|
|
|
}; |
|
|
|