14 lines
600 B
TypeScript
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;
|
|
};
|