Files
discord-decomp/modules/user_profile/experiments/UserProfileWYSIWYGEditingExperiment.tsx
T
2026-11-01 12:12:55 +02:00

25 lines
577 B
TypeScript

// Metro module 9802 (f9803).
import { createApexExperiment } from "../../experiments/apex/index";
const apexExperiment = createApexExperiment({
name: "2026-03-wysiwyg-user-profile-editing",
kind: "user",
defaultConfig: {
enabled: false
},
variations: {
1: {
enabled: true
}
}
});
export function useIsEligibleForUserProfileWYSIWYGEditing(a0) {
return apexExperiment.useConfig({
location: a0
}).enabled;
}
export function getIsEligibleForUserProfileWYSIWYGEditing(a0) {
return apexExperiment.getConfig({
location: a0
}).enabled;
}