Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
23 lines
948 B
TypeScript
23 lines
948 B
TypeScript
// Module ID: 10080
|
|
// Function ID: 10081
|
|
// Name: useGameConsoleAccounts
|
|
// Dependencies: [5530, 1074, 504, 1370, 2]
|
|
// Exports: default
|
|
|
|
// Module 10080 (useGameConsoleAccounts)
|
|
import initialize from "initialize" /* 504 */;
|
|
import GlobalUtils from "GlobalUtils" /* 1370 */;
|
|
import ConnectedAccountsStore from "ConnectedAccountsStore" /* 5530 */;
|
|
|
|
require = fn;
|
|
const PlatformTypes = fn(1074).PlatformTypes;
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/game_console/useGameConsoleAccounts.tsx");
|
|
|
|
export default function useGameConsoleAccounts() {
|
|
let items = [ConnectedAccountsStore];
|
|
return initialize.useStateFromStoresArray(items, () => {
|
|
const items = [ConnectedAccountsStore.getAccount(null, constants.XBOX), ConnectedAccountsStore.getAccount(null, constants.PLAYSTATION), ConnectedAccountsStore.getAccount(null, constants.PLAYSTATION_STAGING)];
|
|
return items.filter(GlobalUtils.isNotNullish);
|
|
});
|
|
};
|