UNPKG

@shopify/shop-minis-react

Version:

React component library for Shopify Shop Minis with Tailwind CSS v4 support (source-only, requires TypeScript)

22 lines (21 loc) 568 B
import { useMemo as a } from "react"; import { useShopActions as l } from "../../internal/useShopActions.js"; import { useShopActionsPaginatedDataFetching as c } from "../../internal/useShopActionsPaginatedDataFetching.js"; const u = (s) => { const { getFollowedShops: t } = l(), { skip: e = !1, ...r } = s ?? {}, { data: o, ...n } = c( t, r, { skip: e, hook: "useFollowedShops" } ), p = a(() => o ?? null, [o]); return { ...n, shops: p }; }; export { u as useFollowedShops }; //# sourceMappingURL=useFollowedShops.js.map