Files
discord-decomp/sources/modules/parent_tools/FamilyCenterAgeGroupPrefetch.tsx
T
2026-07-27 16:20:00 +03:00

29 lines
1.4 KiB
TypeScript

/* Metro module 13876; source: modules/parent_tools/FamilyCenterAgeGroupPrefetch.tsx; dependencies: [5116, 5118, 2] */
function _fun105502(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#105502, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14073:6, offset: 0x022bb0eb, size: 114 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const familyCenterStore = importDefault(5116) /* metro dependency 5116: FamilyCenterStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/parent_tools/FamilyCenterAgeGroupPrefetch.tsx');
exports.prefetchFamilyCenterAgeGroupWhen = prefetchFamilyCenterAgeGroupWhen;
}
function prefetchFamilyCenterAgeGroupWhen(a0) { // fn#105503, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14073:228, offset: 0x022bb15d, size: 105 bytes, params: 2, frame: 11
var r0;
let value = a0;
if (value) {
value = FamilyCenterStore.getAgeGroup();
value = value == null;
r0 = value;
} else {
r0 = value;
}
if (r0) {
if (!FamilyCenterStore.isLoading()) {
if (FamilyCenterStore.canRefetch()) {
(importDefault(5118) /* metro dependency 5118: FamilyCenterActionCreators */).initialPageLoad();
}
}
}
}