decord/source/modules/user_profile/experiments/UserProfileMobileGameCollectionExperiment.tsx

18 lines
853 B
TypeScript
Raw Normal View History

2026-08-06 08:05:19 +00:00
// Module ID: 12375
// Function ID: 12376
2026-07-20 16:05:17 +00:00
// Name: useIsMobileGameCollectionExperimentEnabled
2026-07-29 08:29:29 +00:00
// Dependencies: [1452, 2]
2026-07-20 16:05:17 +00:00
// Exports: useIsMobileGameCollectionExperimentEnabled
2026-08-06 08:05:19 +00:00
// Module 12375 (useIsMobileGameCollectionExperimentEnabled)
2026-07-23 10:11:24 +00:00
import ApexExperiment from "ApexExperiment";
2026-07-29 08:29:29 +00:00
const obj = { 1: null };
obj[1] = { enabled: true };
let closure_0 = ApexExperiment.createApexExperiment({ name: "2026-07-mobile-game-collection", kind: "user", defaultConfig: { enabled: false }, variations: obj });
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/user_profile/experiments/UserProfileMobileGameCollectionExperiment.tsx");
2026-07-20 16:05:17 +00:00
export const useIsMobileGameCollectionExperimentEnabled = function useIsMobileGameCollectionExperimentEnabled(UserProfileWidgetsBoard) {
return closure_0.useConfig({ location: UserProfileWidgetsBoard }).enabled;
};