decord/source/modules/applications/useIsSocialLayerParentApplication.tsx

23 lines
803 B
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 8960
// Function ID: 70640
2026-07-20 16:05:17 +00:00
// Name: getIsSocialLayerParentApplication
2026-07-23 10:11:24 +00:00
// Dependencies: [31, 653, 7371, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-23 10:11:24 +00:00
// Module 8960 (getIsSocialLayerParentApplication)
import result from "result";
import { ApplicationFlags } from "ME";
const require = arg1;
2026-07-20 16:05:17 +00:00
function getIsSocialLayerParentApplication(application) {
2026-07-23 10:11:24 +00:00
return require(7371) /* getApplicationFlags */.hasApplicationFlag(application, ApplicationFlags.PARENT);
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
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-23 10:11:24 +00:00
return React.useMemo(() => outer1_4(closure_0), items);
2026-07-20 16:05:17 +00:00
};
export { getIsSocialLayerParentApplication };