This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
// Metro module 11472 (f11473).
import GuildStore from "../../stores/GuildStore";
import { GuildFeatures } from "../../Constants";
import { useStateFromStores } from "../../_bundle/Module589";
export default function useIsHubForGuild(a0) {
return useStateFromStores([GuildStore], () => {
if (a0 == null) {
return false;
}
const guild = GuildStore.getGuild(a0);
let r8 = guild == null ? void 0 : guild.features.has(GuildFeatures.HUB);
if (r8 == null) {
r8 = false;
}
return r8;
}, [a0]);
};