30 lines
830 B
TypeScript
30 lines
830 B
TypeScript
// Module ID: 12384
|
|
// Function ID: 12385
|
|
// Name: setSendState
|
|
// Dependencies: [644, 705, 2]
|
|
// Exports: setSendState
|
|
|
|
// Module 12384 (setSendState)
|
|
import set from "set" /* 2 */;
|
|
import keys from "keys" /* 644 */;
|
|
|
|
let obj = keys.create(() => ({}));
|
|
const result = set.fileFinishedImporting("modules/instant_invite/GuildInviteSendStateStore.tsx");
|
|
|
|
export const setSendState = function setSendState(arg0, arg1, arg2) {
|
|
const _require = arg0;
|
|
dependencyMap = arg1;
|
|
closure_2 = arg2;
|
|
_require(705).batchUpdates(() => {
|
|
state.setState((arg0) => {
|
|
obj = {};
|
|
const merged = Object.assign(arg0);
|
|
obj = {};
|
|
const merged1 = Object.assign(arg0[closure_0]);
|
|
obj[closure_1] = closure_2;
|
|
obj[closure_0] = obj;
|
|
return obj;
|
|
});
|
|
});
|
|
};
|
|
export const useGuildInviteSendStates = obj;
|