Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
28 lines
876 B
TypeScript
28 lines
876 B
TypeScript
// Module ID: 13630
|
|
// Function ID: 13631
|
|
// Name: PremiumPlanSelectStore
|
|
// Dependencies: [560, 1247, 2]
|
|
// Exports: setIsPurchasing
|
|
|
|
// Module 13630 (PremiumPlanSelectStore)
|
|
import module_560 from "module_560" /* 560 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const require = globalThis.__r;
|
|
|
|
const usePremiumPlanSelectStore = module_560.create(() => ({ isPurchasing: false, purchasingProductId: null }));
|
|
const result = size.fileFinishedImporting("modules/premium/native/PremiumPlanSelectStore.tsx");
|
|
|
|
export { usePremiumPlanSelectStore };
|
|
export const setIsPurchasing = function setIsPurchasing(isPurchasing) {
|
|
_require = isPurchasing;
|
|
let tmp = arg1;
|
|
if (arg1 === undefined) {
|
|
tmp = null;
|
|
}
|
|
dependencyMap = tmp;
|
|
require("ReactBatchUpdates").batchUpdates(() => {
|
|
const obj = { isPurchasing, purchasingProductId };
|
|
return obj.setState(obj);
|
|
});
|
|
};
|