decord/source/modules/user_profile/hooks/useUserProfileApplicationRoleConnections.tsx

33 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 12684
// Function ID: 12685
2026-07-20 16:05:17 +00:00
// Name: useUserProfileApplicationRoleConnections
2026-08-25 06:04:03 +00:00
// Dependencies: [19, 7227, 589, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-25 06:04:03 +00:00
// Module 12684 (useUserProfileApplicationRoleConnections)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import noop from "noop" /* 19 */;
2026-08-25 06:04:03 +00:00
import closure_3 from "createUserWidgetFromServer" /* 7227 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
const useMemo = noop.useMemo;
2026-07-20 16:05:17 +00:00
let closure_4 = [];
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/user_profile/hooks/useUserProfileApplicationRoleConnections.tsx");
2026-07-20 16:05:17 +00:00
export default function useUserProfileApplicationRoleConnections(arg0) {
2026-07-23 10:11:24 +00:00
const _require = arg0;
2026-08-24 06:08:38 +00:00
const items = [closure_3];
stateFromStores = _require(stateFromStores[2]).useStateFromStores(items, () => closure_1_3.getUserProfile(closure_0));
2026-07-20 16:05:17 +00:00
let prop;
2026-07-29 08:29:29 +00:00
if (stateFromStores != null) {
2026-07-20 16:05:17 +00:00
prop = stateFromStores.applicationRoleConnections;
}
const items1 = [prop];
return useMemo(() => {
let prop;
2026-07-29 08:29:29 +00:00
if (stateFromStores != null) {
prop = tmp.applicationRoleConnections;
2026-07-20 16:05:17 +00:00
}
2026-08-24 06:08:38 +00:00
return null == prop ? closure_1_4 : stateFromStores.applicationRoleConnections;
2026-07-20 16:05:17 +00:00
}, items1);
};