diff --git a/src/components/ProductStatusCard/index.js b/src/components/ProductStatusCard/index.js index ef517cc..c174097 100644 --- a/src/components/ProductStatusCard/index.js +++ b/src/components/ProductStatusCard/index.js @@ -14,11 +14,11 @@ const ProductStatusCard = ({ items, productPrice, discountPrice }) => { return (
-
+
{items.map((item, index) => ( -
+ <>
@@ -40,8 +40,10 @@ const ProductStatusCard = ({ items, productPrice, discountPrice }) => {
{item.alertIcon && }
-
-
+ {Number(index) !== items.length - 1 && ( +
+ )} + ))}

diff --git a/src/components/Sidebar/SidebarMenu/index.js b/src/components/Sidebar/SidebarMenu/index.js index d7d8c35..91cc0eb 100644 --- a/src/components/Sidebar/SidebarMenu/index.js +++ b/src/components/Sidebar/SidebarMenu/index.js @@ -154,6 +154,7 @@ SidebarMenu.defaultProps = { subItems: [{ name: "API توسعه دهندگان", num: null }], }, ], + buttons: [ { icon: moon, title: "حالت شب", leftIcon: moon }, { icon: logout, title: "خروج از حساب کاربری", leftIcon: null },