This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,13 @@
// Metro module 11888 (f11889).
import UserStore from "../../../../stores/UserStore";
import { useStateFromStores } from "../../../../_bundle/Module589";
import { getCollectibleGoogleSkuId } from "../CollectiblesUtils";
import useMobilePurchaseSKU_android from "../../../billing/native/hooks/useMobilePurchaseSKU.android";
export default function useMobileCollectiblesPurchaseSKU({ product, ...rest }) {
return useMobilePurchaseSKU_android({
...rest,
skuId: product.skuId,
platformSkuId: getCollectibleGoogleSkuId(product, useStateFromStores([UserStore], () => UserStore.getCurrentUser())),
isFreeForStaffSelfPurchase: true
});
};