Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
25 lines
1,004 B
TypeScript
25 lines
1,004 B
TypeScript
// Module ID: 12660
|
|
// Function ID: 12661
|
|
// Name: useProvisionalAccountApplication
|
|
// Dependencies: [7672, 504, 7182, 2]
|
|
// Exports: default
|
|
|
|
// Module 12660 (useProvisionalAccountApplication)
|
|
import GameRelationshipStore from "GameRelationshipStore" /* 7672 */;
|
|
|
|
const require = globalThis.__r;
|
|
|
|
const require = fn;
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/provisional_accounts/hooks/useProvisionalAccountApplication.tsx");
|
|
|
|
export default function useProvisionalAccountApplication(arg0) {
|
|
_require = arg0;
|
|
const items = [GameRelationshipStore];
|
|
const stateFromStores = require("initialize").useStateFromStores(items, () => {
|
|
const gameRelationshipsForUser = GameRelationshipStore.getGameRelationshipsForUser(closure_0);
|
|
return 0 !== gameRelationshipsForUser.length ? gameRelationshipsForUser[0].applicationId : undefined;
|
|
});
|
|
const obj = require("initialize");
|
|
return require("useGetOrFetchApplications").useGetOrFetchApplication(stateFromStores);
|
|
};
|