35 lines
1.2 KiB
TypeScript
35 lines
1.2 KiB
TypeScript
// Module ID: 12124
|
|
// Function ID: 94990
|
|
// Name: useUserProfileApplicationRoleConnections
|
|
// Dependencies: [31, 5630, 566, 2]
|
|
// Exports: default
|
|
|
|
// Module 12124 (useUserProfileApplicationRoleConnections)
|
|
import { useMemo } from "result";
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
|
|
|
let closure_4 = [];
|
|
const result = require("initialize").fileFinishedImporting("modules/user_profile/hooks/useUserProfileApplicationRoleConnections.tsx");
|
|
|
|
export default function useUserProfileApplicationRoleConnections(arg0) {
|
|
const _require = arg0;
|
|
const items = [_isNativeReflectConstruct];
|
|
stateFromStores = _require(stateFromStores[2]).useStateFromStores(items, () => outer1_3.getUserProfile(closure_0));
|
|
let prop;
|
|
if (null != stateFromStores) {
|
|
prop = stateFromStores.applicationRoleConnections;
|
|
}
|
|
const items1 = [prop];
|
|
return useMemo(() => {
|
|
let prop;
|
|
if (null != stateFromStores) {
|
|
prop = stateFromStores.applicationRoleConnections;
|
|
}
|
|
if (null == prop) {
|
|
let applicationRoleConnections = outer1_4;
|
|
} else {
|
|
applicationRoleConnections = stateFromStores.applicationRoleConnections;
|
|
}
|
|
return applicationRoleConnections;
|
|
}, items1);
|
|
};
|