19 lines
1 KiB
TypeScript
19 lines
1 KiB
TypeScript
// Module ID: 8666
|
|
// Function ID: 8667
|
|
// Name: apexExperiment
|
|
// Dependencies: [1452, 2]
|
|
// Exports: getIsProfileFrameGiftingEnabled, useIsProfileFrameGiftingEnabled
|
|
|
|
// Module 8666 (apexExperiment)
|
|
import ApexExperiment from "ApexExperiment";
|
|
|
|
const apexExperiment = ApexExperiment.createApexExperiment({ name: "2026-04-profile-frame-gifting", kind: "user", defaultConfig: { enabled: false }, variations: { 0: { enabled: false }, 1: { enabled: true } } });
|
|
const result = require("set").fileFinishedImporting("modules/collectibles/experiments/CollectiblesProfileFrameGiftingExperiment.tsx");
|
|
|
|
export default apexExperiment;
|
|
export const getIsProfileFrameGiftingEnabled = function getIsProfileFrameGiftingEnabled(isWishlistableCollectiblesProduct) {
|
|
return apexExperiment.getConfig({ location: isWishlistableCollectiblesProduct }).enabled;
|
|
};
|
|
export const useIsProfileFrameGiftingEnabled = function useIsProfileFrameGiftingEnabled(CollectiblesWishlistItemCard) {
|
|
return apexExperiment.useConfig({ location: CollectiblesWishlistItemCard }).enabled;
|
|
};
|