decord/source/modules/collectibles/hooks/useShouldShowPremiumProfileFrameEA.tsx

23 lines
877 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 12044
// Function ID: 12045
2026-07-20 16:05:17 +00:00
// Name: useShouldShowPremiumProfileFrameEA
2026-08-24 06:08:38 +00:00
// Dependencies: [8993, 9271, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 12044 (useShouldShowPremiumProfileFrameEA)
import set from "set" /* 2 */;
import apexExperiment from "apexExperiment" /* 8993 */;
import apexExperiment2 from "apexExperiment" /* 9271 */;
import apexExperimentDefault from "apexExperiment" /* 9271 */;
const result = set.fileFinishedImporting("modules/collectibles/hooks/useShouldShowPremiumProfileFrameEA.tsx");
2026-07-20 16:05:17 +00:00
export default function useShouldShowPremiumProfileFrameEA(location) {
2026-08-24 06:08:38 +00:00
let isProfileFramesEnabled = apexExperiment.useIsProfileFramesEnabled(location);
apexExperimentDefault;
2026-07-20 16:05:17 +00:00
if (isProfileFramesEnabled) {
2026-08-24 06:08:38 +00:00
isProfileFramesEnabled = tmp5 === apexExperiment2.ProfileFramesPurchaseBucket.PAID_PREMIUM_SUBSCRIBERS_ONLY;
2026-07-20 16:05:17 +00:00
}
return isProfileFramesEnabled;
};