|
|
|
@ -38,7 +38,9 @@ function Address({ |
|
|
|
|
<div className="flex flex-1 flex-col mr-2"> |
|
|
|
|
<li |
|
|
|
|
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} |
|
|
|
@ -82,6 +84,10 @@ function Address({ |
|
|
|
|
شماره تماس: {address.cellphone} |
|
|
|
|
</li> |
|
|
|
|
</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> |
|
|
|
|
); |
|
|
|
|
}; |
|
|
|
|