decord/source/modules/applications/useIsSocialLayerParentApplication.tsx

22 lines
888 B
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 10402
// Function ID: 10403
2026-07-29 08:29:29 +00:00
// Name: useIsSocialLayerParentApplication
2026-08-05 07:35:12 +00:00
// Dependencies: [19, 676, 7482, 2]
2026-07-29 08:29:29 +00:00
// Exports: default, getIsSocialLayerParentApplication
2026-07-20 16:05:17 +00:00
2026-08-05 07:35:12 +00:00
// Module 10402 (useIsSocialLayerParentApplication)
2026-07-29 08:29:29 +00:00
import noop from "noop";
2026-07-23 10:11:24 +00:00
import { ApplicationFlags } from "ME";
const require = arg1;
const result = require("getApplicationFlags").fileFinishedImporting("modules/applications/useIsSocialLayerParentApplication.tsx");
2026-07-20 16:05:17 +00:00
export default function useIsSocialLayerParentApplication(arg0) {
2026-07-23 10:11:24 +00:00
let closure_0 = arg0;
2026-07-20 16:05:17 +00:00
const items = [arg0];
2026-07-29 08:29:29 +00:00
return React.useMemo(() => callback(outer1_1[2]).hasApplicationFlag(callback, outer1_3.PARENT), items);
};
export const getIsSocialLayerParentApplication = function getIsSocialLayerParentApplication(application) {
2026-08-05 07:35:12 +00:00
return require(7482) /* getApplicationFlags */.hasApplicationFlag(application, ApplicationFlags.PARENT);
2026-07-20 16:05:17 +00:00
};