diff --git a/src/views/Address/index.js b/src/views/Address/index.js index d9c72ce..555048a 100644 --- a/src/views/Address/index.js +++ b/src/views/Address/index.js @@ -556,6 +556,7 @@ export const Address = ({ direction="ltr" maxLength={10} /> +
{ @@ -52,54 +53,74 @@ const ProfileAddress = ({ ); }; +{ + /*
+ +
*/ +} + const Location = ({ address, active, userId, isDark, update }) => { return ( -
- active ? {} : update({ userAddressId: address.id, userId }) - } - > -
- {active && ( -
-
- آدرس انتخابی شما - فعال + <> + {/* */} +
+ active ? {} : update({ userAddressId: address.id, userId }) + } + > +
+ {active && ( +
+
+ آدرس انتخابی شما + فعال +
+ +
+ )} +
+
+ + {"آدرس:" + " " + address.address} + + + {"نام:" + " " + address.firstName + " " + address.lastName} + + + {"کد پستی:" + " " + address.postalCode} + + + {"شماره تماس:" + " " + address.cellphone} +
- -
- )} -
-
- - {"آدرس:" + " " + address.address} - - - {"نام:" + " " + address.firstName + " " + address.lastName} - - - {"کد پستی:" + " " + address.postalCode} - - - {"شماره تماس:" + " " + address.cellphone} -
+
-
-
+ ); };