17 lines
646 B
TypeScript
17 lines
646 B
TypeScript
// Module ID: 10828
|
|
// Function ID: 10829
|
|
// Name: useSubscriptionSelection
|
|
// Dependencies: [32, 19, 2]
|
|
// Exports: default
|
|
|
|
// Module 10828 (useSubscriptionSelection)
|
|
import closure_0 from "_slicedToArray" /* 32 */;
|
|
import closure_1 from "noop" /* 19 */;
|
|
|
|
const result = require("set").fileFinishedImporting("modules/payments/hooks/useSubscriptionSelection.tsx");
|
|
|
|
export default function useSubscriptionSelection() {
|
|
[tmp2, tmp3] = callback(React.useState(undefined), 2);
|
|
const tmp4 = callback(React.useState(undefined), 2);
|
|
return { selectedSkuId: tmp2, setSelectedSkuId: tmp3, selectedPlanId: tmp4[0], setSelectedPlanId: tmp4[1] };
|
|
};
|