Skip to content

Commit e0a1769

Browse files
author
Hyeokmin Kwon
committed
Temporary add logging user info in order list
1 parent 8f51361 commit e0a1769

File tree

1 file changed

+3
-1
lines changed
  • packages/shop/src/components/features

1 file changed

+3
-1
lines changed

packages/shop/src/components/features/order.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import * as React from "react";
1818
import { useForm } from "react-hook-form";
1919
import * as R from "remeda";
2020

21-
import ShopHooks from "../../hooks";
21+
import ShopHooks, { useUserStatus } from "../../hooks";
2222
import ShopSchemas from "../../schemas";
2323
import ShopUtils from "../../utils";
2424
import CommonComponents from "../common";
@@ -298,6 +298,8 @@ export const OrderList: React.FC = () => {
298298
const WrappedOrderList: React.FC = () => {
299299
const shopAPIClient = ShopHooks.useShopClient();
300300
const { data } = ShopHooks.useOrders(shopAPIClient);
301+
const a = ShopHooks.useUserStatus(shopAPIClient);
302+
console.log(a);
301303

302304
return (
303305
<Common.Components.MDX.OneDetailsOpener>

0 commit comments

Comments
 (0)