decord/source/modules/billing/native/subscription/useResubscribeSubscriptionParams.tsx

34 lines
1 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 7741
// Function ID: 7742
2026-07-20 16:05:17 +00:00
// Name: useResubscribeSubscriptionParams
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 7739, 514, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 7741 (useResubscribeSubscriptionParams)
import useToggleOnIAPSuccessDefault from "useToggleOnIAPSuccess" /* 7739 */;
import closure_3 from "noop" /* 19 */;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("modules/billing/native/subscription/useResubscribeSubscriptionParams.tsx");
2026-07-20 16:05:17 +00:00
export default function useResubscribeSubscriptionParams(arg0) {
2026-08-24 06:08:38 +00:00
closure_0 = arg0;
const tmp = useToggleOnIAPSuccessDefault();
2026-07-23 10:11:24 +00:00
importDefault = tmp;
2026-07-20 16:05:17 +00:00
const items = [arg0, tmp];
return React.useMemo(() => {
2026-07-29 08:29:29 +00:00
let tmp2 = null;
2026-07-23 10:11:24 +00:00
if (null != callback) {
2026-07-29 08:29:29 +00:00
tmp2 = null;
2026-07-23 10:11:24 +00:00
if (null != closure_1) {
2026-07-29 08:29:29 +00:00
const obj = { requestIdentifier: null, subscriptionId: null };
2026-08-24 06:08:38 +00:00
obj[0] = callback(closure_1_2[2]).v4();
2026-07-29 08:29:29 +00:00
obj[1] = tmp;
tmp2 = obj;
2026-08-24 06:08:38 +00:00
const obj2 = callback(closure_1_2[2]);
2026-07-20 16:05:17 +00:00
}
}
2026-07-29 08:29:29 +00:00
return tmp2;
2026-07-20 16:05:17 +00:00
}, items);
};