From 4c2fc83d6b102aad24d0bab336b1aafff1c188d7 Mon Sep 17 00:00:00 2001 From: mahdi Date: Sun, 19 Jun 2022 09:38:23 +0430 Subject: [PATCH] update src/views/Address/index.js, src/views/Dashboard/layouts/Main/Addresses/index.js and src/views/Dashboard/layouts/Mobile/ProfileAddress/index.js --- src/views/Address/index.js | 1 + .../Dashboard/layouts/Main/Addresses/index.js | 105 +++++++++++------- 2 files changed, 64 insertions(+), 42 deletions(-) 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} -
+
-
-
+ ); };