decord/source/modules/experiments/trigger_points/useCommonTriggerPoint.tsx

28 lines
975 B
TypeScript
Raw Normal View History

2026-07-31 08:44:05 +00:00
// Module ID: 12460
// Function ID: 12461
2026-07-20 16:05:17 +00:00
// Name: useCommonTriggerPoint
2026-07-31 08:44:05 +00:00
// Dependencies: [32, 19, 4107, 589, 2]
2026-07-20 16:05:17 +00:00
// Exports: useCommonTriggerPoint
2026-07-31 08:44:05 +00:00
// Module 12460 (useCommonTriggerPoint)
2026-07-23 10:11:24 +00:00
import _slicedToArray from "_slicedToArray";
2026-07-29 08:29:29 +00:00
import noop from "noop";
import getHash from "getHash";
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
const result = require("getHash").fileFinishedImporting("modules/experiments/trigger_points/useCommonTriggerPoint.tsx");
2026-07-20 16:05:17 +00:00
export const useCommonTriggerPoint = function useCommonTriggerPoint(OpenNitroTriggerPoint) {
2026-07-23 10:11:24 +00:00
const _require = OpenNitroTriggerPoint;
2026-07-29 08:29:29 +00:00
let items = [getHash];
const obj = _require(589);
2026-07-20 16:05:17 +00:00
const items1 = [OpenNitroTriggerPoint, , ];
2026-07-29 08:29:29 +00:00
[arr2[1], arr2[2]] = callback(_require(589).useStateFromStoresArray(items, () => {
const items = [authStore.getAllUserExperimentDescriptors(), authStore.getGuildExperiments()];
2026-07-20 16:05:17 +00:00
return items;
}), 2);
const effect = React.useEffect(() => {
2026-07-23 10:11:24 +00:00
OpenNitroTriggerPoint.trigger();
2026-07-20 16:05:17 +00:00
}, items1);
};