|
|
|
@ -25,10 +25,6 @@ const ProfileAddress = ({ |
|
|
|
|
userId, |
|
|
|
|
userAddressId, |
|
|
|
|
getFactorInfo, |
|
|
|
|
loading, |
|
|
|
|
closeBottomSheet, |
|
|
|
|
mobile, |
|
|
|
|
isMobile, |
|
|
|
|
isDark, |
|
|
|
|
headerOptions, |
|
|
|
|
setHeaderOptions, |
|
|
|
@ -141,13 +137,13 @@ const Location = ({ |
|
|
|
|
> |
|
|
|
|
<Link |
|
|
|
|
to={"/editAddress/" + address.id} |
|
|
|
|
className="py-3 pr-2 pl-10 text-sm font-bold" |
|
|
|
|
className="py-3 pr-2 pl-10 text-sm font-bold bg-blue-300" |
|
|
|
|
onClick={() => setMenu()} |
|
|
|
|
> |
|
|
|
|
ویرایش |
|
|
|
|
</Link> |
|
|
|
|
<button |
|
|
|
|
className="py-3 pr-2 pl-10 border-none m-0 bg-blue-300 text-sm text-red19 font-bold" |
|
|
|
|
className="py-3 pr-2 pl-10 border-none m-0 text-sm text-red19 font-bold" |
|
|
|
|
onClick={() => delAddress(address.id)} |
|
|
|
|
> |
|
|
|
|
حذف |
|
|
|
|