Files
discord-decomp/modules/collectibles/hooks/useShouldShowPremiumProfileFrameEA.tsx
T
2026-11-01 12:12:55 +02:00

14 lines
600 B
TypeScript

// Metro module 11912 (f11913).
import { useIsProfileFramesEnabled } from "../experiments/CollectiblesProfileFramesExperiment";
import CollectiblesProfileFramesPurchaseExperiment, { ProfileFramesPurchaseBucket } from "../experiments/CollectiblesProfileFramesPurchaseExperiment";
export default function useShouldShowPremiumProfileFrameEA(a0) {
let r9 = useIsProfileFramesEnabled(a0);
const bucket = CollectiblesProfileFramesPurchaseExperiment.useConfig({
location: a0
}).bucket;
if (r9) {
r9 = bucket === ProfileFramesPurchaseBucket.PAID_PREMIUM_SUBSCRIBERS_ONLY;
}
return r9;
};