@ -8,6 +8,7 @@ const initialState = {
checkEmpty: false,
isVerified: null,
};
export default function userFactor(state = initialState, action) {
let { type, data } = action;
switch (type) {
@ -26,7 +26,7 @@ export const DeliveryForm = ({
}) => {
useEffect(() => {
if (isMobile) {
setHeaderOptions({shown : false});
setHeaderOptions({ shown: false });
}
getFactorInfo({ userId });
getList();
@ -287,6 +287,11 @@ function ShoppingCart({
value={productsLength ? factorInfo?.sumPrice : ""}
type="normal"
/>
<PriceStatus
name="هزینه حمل و نقل"
value={productsLength ? factorInfo?.transportPrice : 0}
type="error"
name="میزان تخفیف"
value={productsLength ? factorInfo?.offPrice : ""}