22 lines
938 B
TypeScript
22 lines
938 B
TypeScript
// Module ID: 10589
|
|
// Function ID: 10590
|
|
// Name: useIsSocialLayerParentApplication
|
|
// Dependencies: [19, 676, 7733, 2]
|
|
// Exports: default, getIsSocialLayerParentApplication
|
|
|
|
// Module 10589 (useIsSocialLayerParentApplication)
|
|
import getApplicationFlags from "getApplicationFlags" /* 7733 */;
|
|
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);
|
|
};
|