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

20 lines
522 B
TypeScript

// Metro module 11805 (f11806).
import { create } from "../../_bundle/Module644";
import { batchUpdates } from "../../_bundle/Module705";
let c8093_2 = create(() => ({}));
export function setSendState(c19184_0, c19184_1, c19184_2) {
const state = c8093_2.getState();
batchUpdates(() => {
const r10 = {
...state
};
const r11 = {
...state[c19184_0]
};
r11[c19184_1] = c19184_2;
r10[c19184_0] = r11;
c8093_2.setState(r10);
});
}
export { c8093_2 as useInstantInviteSendStates };