decord/source/modules/guilds_bar/DontBadgeMutedVcsExperiment.tsx

19 lines
944 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 13313
// Function ID: 13314
2026-07-20 16:05:17 +00:00
// Name: useIsDontBadgeMutedVcsEnabled
2026-08-11 06:20:06 +00:00
// Dependencies: [1368, 2]
2026-08-24 06:08:38 +00:00
// Exports: getIsDontBadgeMutedVcsEnabled, useIsDontBadgeMutedVcsEnabled
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
// Module 13313 (useIsDontBadgeMutedVcsEnabled)
import getUnitIdDefault from "getUnitId" /* 1368 */;
let closure_0 = getUnitIdDefault({ kind: "user", name: "2026-06-dont-badge-muted-vcs", defaultConfig: { enabled: false }, variations: { 0: { enabled: false }, 1: { enabled: true } } });
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/guilds_bar/DontBadgeMutedVcsExperiment.tsx");
2026-07-20 16:05:17 +00:00
export const useIsDontBadgeMutedVcsEnabled = function useIsDontBadgeMutedVcsEnabled(useGuildMediaState) {
return closure_0.useConfig({ location: useGuildMediaState }).enabled;
};
2026-08-24 06:08:38 +00:00
export const getIsDontBadgeMutedVcsEnabled = function getIsDontBadgeMutedVcsEnabled(GuildMediaStateStore) {
return closure_0.getConfig({ location: GuildMediaStateStore }).enabled;
};