22 lines
935 B
TypeScript
22 lines
935 B
TypeScript
// Module ID: 9810
|
|
// Function ID: 9811
|
|
// Name: useIsSocialLayerParentApplication
|
|
// Dependencies: [19, 676, 7912, 2]
|
|
// Exports: default, getIsSocialLayerParentApplication
|
|
|
|
// Module 9810 (useIsSocialLayerParentApplication)
|
|
import getApplicationFlags from "getApplicationFlags" /* 7912 */;
|
|
import closure_2 from "noop" /* 19 */;
|
|
import { ApplicationFlags } from "ME" /* 676 */;
|
|
|
|
require = arg1;
|
|
const result = require("set").fileFinishedImporting("modules/applications/useIsSocialLayerParentApplication.tsx");
|
|
|
|
export default function useIsSocialLayerParentApplication(arg0) {
|
|
closure_0 = arg0;
|
|
const items = [arg0];
|
|
return React.useMemo(() => callback(closure_1_1[2]).hasApplicationFlag(callback, closure_1_3.PARENT), items);
|
|
};
|
|
export const getIsSocialLayerParentApplication = function getIsSocialLayerParentApplication(application) {
|
|
return getApplicationFlags.hasApplicationFlag(application, ApplicationFlags.PARENT);
|
|
};
|