We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f51361 commit e0a1769Copy full SHA for e0a1769
1 file changed
packages/shop/src/components/features/order.tsx
@@ -18,7 +18,7 @@ import * as React from "react";
18
import { useForm } from "react-hook-form";
19
import * as R from "remeda";
20
21
-import ShopHooks from "../../hooks";
+import ShopHooks, { useUserStatus } from "../../hooks";
22
import ShopSchemas from "../../schemas";
23
import ShopUtils from "../../utils";
24
import CommonComponents from "../common";
@@ -298,6 +298,8 @@ export const OrderList: React.FC = () => {
298
const WrappedOrderList: React.FC = () => {
299
const shopAPIClient = ShopHooks.useShopClient();
300
const { data } = ShopHooks.useOrders(shopAPIClient);
301
+ const a = ShopHooks.useUserStatus(shopAPIClient);
302
+ console.log(a);
303
304
return (
305
<Common.Components.MDX.OneDetailsOpener>
0 commit comments