From fa0412dad8c5478f3f8e7f0946628adf543e8fd4 Mon Sep 17 00:00:00 2001 From: mahdi Date: Tue, 14 Jun 2022 12:44:45 +0430 Subject: [PATCH] update 5 files --- src/redux/reducers/userFactor.js | 1 + src/views/DeliveryForm/index.js | 2 +- src/views/ShoppingCart/index.js | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/redux/reducers/userFactor.js b/src/redux/reducers/userFactor.js index 2215993..4b95047 100644 --- a/src/redux/reducers/userFactor.js +++ b/src/redux/reducers/userFactor.js @@ -8,6 +8,7 @@ const initialState = { checkEmpty: false, isVerified: null, }; + export default function userFactor(state = initialState, action) { let { type, data } = action; switch (type) { diff --git a/src/views/DeliveryForm/index.js b/src/views/DeliveryForm/index.js index 6524866..9c7cdd2 100644 --- a/src/views/DeliveryForm/index.js +++ b/src/views/DeliveryForm/index.js @@ -26,7 +26,7 @@ export const DeliveryForm = ({ }) => { useEffect(() => { if (isMobile) { - setHeaderOptions({shown : false}); + setHeaderOptions({ shown: false }); } getFactorInfo({ userId }); getList(); diff --git a/src/views/ShoppingCart/index.js b/src/views/ShoppingCart/index.js index 7175259..29b8b61 100644 --- a/src/views/ShoppingCart/index.js +++ b/src/views/ShoppingCart/index.js @@ -287,6 +287,11 @@ function ShoppingCart({ value={productsLength ? factorInfo?.sumPrice : ""} type="normal" /> +