Files
discord-decomp/modules/instant_invite/GuildInviteSendStateStore.tsx
T
2026-11-01 12:12:55 +02:00

21 lines
527 B
TypeScript

// Metro module 12209 (f12210).
import { create } from "../../_bundle/Module644";
import { batchUpdates } from "../../_bundle/Module705";
let c8438_2 = create(() => ({}));
export function setSendState(c19732_0, c19732_1, c19732_2) {
batchUpdates(() => {
c8438_2.setState((state) => {
const r0 = {
...state
};
const r7 = {
...state[c19732_0]
};
r7[c19732_1] = c19732_2;
r0[c19732_0] = r7;
return r0;
});
});
}
export { c8438_2 as useGuildInviteSendStates };