diff --git a/src/views/Address/index.js b/src/views/Address/index.js index b2dde57..50e44fc 100644 --- a/src/views/Address/index.js +++ b/src/views/Address/index.js @@ -50,7 +50,11 @@ export const Address = ({ getProvince(); } if (isMobile) { - setHeaderOptions(headerOptions); + if (editPage || profilePage) { + setHeaderOptions(headerOptions); + } else { + setHeaderOptions({ shown: true, back: true, title: "آدرس جدید" }); + } } if (editPage) { getAddress({ id: location.getId() }); @@ -211,7 +215,7 @@ export const Address = ({ } if (editPage) { updateAddress({ - id : addressInfo.id, + id: addressInfo.id, firstName, lastName, cellphone, diff --git a/src/views/Home/Portrait/Private/Blogs/index.js b/src/views/Home/Portrait/Private/Blogs/index.js index 0e22f28..4b5a280 100644 --- a/src/views/Home/Portrait/Private/Blogs/index.js +++ b/src/views/Home/Portrait/Private/Blogs/index.js @@ -16,15 +16,21 @@ function Blogs({ list, isDark, setActive }) { خواندنی‌ها - {isDark ? ( - - ) : ( - - )} + + {isDark ? ( + + ) : ( + + )} +