Skip to content

Commit 6f13f40

Browse files
committed
lint fix
1 parent a57de36 commit 6f13f40

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

services/web/src/actions/shopActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,4 @@ export const newCouponAction = ({
128128
callback,
129129
},
130130
};
131-
};
131+
};

services/web/src/components/shop/shop.tsx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ import {
3535
ShoppingCartOutlined,
3636
GiftOutlined,
3737
} from "@ant-design/icons";
38-
import { COUPON_CODE_REQUIRED, COUPON_AMOUNT_REQUIRED } from "../../constants/messages";
38+
import {
39+
COUPON_CODE_REQUIRED,
40+
COUPON_AMOUNT_REQUIRED,
41+
} from "../../constants/messages";
3942
import { useNavigate } from "react-router-dom";
4043
import roleTypes from "../../constants/roleTypes";
4144

@@ -299,7 +302,14 @@ const mapStateToProps = (state: RootState) => {
299302
const { accessToken, availableCredit, products, prevOffset, nextOffset } =
300303
state.shopReducer;
301304
const { role } = state.userReducer;
302-
return { accessToken, availableCredit, products, prevOffset, nextOffset, role };
305+
return {
306+
accessToken,
307+
availableCredit,
308+
products,
309+
prevOffset,
310+
nextOffset,
311+
role,
312+
};
303313
};
304314

305315
const connector = connect(mapStateToProps);

0 commit comments

Comments
 (0)