32 lines
1.1 KiB
TypeScript
32 lines
1.1 KiB
TypeScript
// Module ID: 12432
|
|
// Function ID: 12433
|
|
// Name: useUserProfileApplicationRoleConnections
|
|
// Dependencies: [19, 7299, 589, 2]
|
|
// Exports: default
|
|
|
|
// Module 12432 (useUserProfileApplicationRoleConnections)
|
|
import set from "set" /* 2 */;
|
|
import noop from "noop" /* 19 */;
|
|
import closure_3 from "createUserWidgetFromServer" /* 7299 */;
|
|
|
|
const useMemo = noop.useMemo;
|
|
let closure_4 = [];
|
|
const result = set.fileFinishedImporting("modules/user_profile/hooks/useUserProfileApplicationRoleConnections.tsx");
|
|
|
|
export default function useUserProfileApplicationRoleConnections(arg0) {
|
|
const _require = arg0;
|
|
const items = [closure_3];
|
|
stateFromStores = _require(stateFromStores[2]).useStateFromStores(items, () => closure_1_3.getUserProfile(closure_0));
|
|
let prop;
|
|
if (stateFromStores != null) {
|
|
prop = stateFromStores.applicationRoleConnections;
|
|
}
|
|
const items1 = [prop];
|
|
return useMemo(() => {
|
|
let prop;
|
|
if (stateFromStores != null) {
|
|
prop = tmp.applicationRoleConnections;
|
|
}
|
|
return null == prop ? closure_1_4 : stateFromStores.applicationRoleConnections;
|
|
}, items1);
|
|
};
|