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

@@ -0,0 +1,26 @@
// Metro module 8282 (f8283).
import { useCallback } from "react";
import GuildProfileStore from "../GuildProfileStore";
import { useStateFromStores } from "../../../_bundle/Module589";
import { getGuildProfile } from "../GuildProfileActionCreators";
export function useGuildProfile(a0) {
const stateFromStores = useStateFromStores([GuildProfileStore], () => GuildProfileStore.getProfile(a0));
const stateFromStores2 = useStateFromStores([GuildProfileStore], () => GuildProfileStore.getFetchStatus(a0));
return {
guildProfile: stateFromStores,
fetchGuildProfile: useCallback(async function(c26170_0) {
let c26170_2;
let c29935_0;
c26170_2 = void 0;
c29935_0 = void 0;
if (c26170_0 !== void 0) {
c29935_0 = c26170_0;
} else {
c29935_0 = false;
}
await void 0;
return await getGuildProfile(a0, c29935_0);
}, [a0]),
fetchStatus: stateFromStores2
};
}