Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
26 lines
778 B
TypeScript
26 lines
778 B
TypeScript
// Module ID: 11989
|
|
// Function ID: 11990
|
|
// Name: DiceRollStore
|
|
// Dependencies: [560, 2]
|
|
// Exports: useDiceRollState
|
|
|
|
// Module 11989 (DiceRollStore)
|
|
import module_560 from "module_560" /* 560 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const INITIAL_STATE = { channelId: null, rolling: false, dismissing: false, diceCount: 1, diceSides: 6, results: null };
|
|
const obj2 = module_560.create(() => obj);
|
|
const result = size.fileFinishedImporting("modules/dice_roll/DiceRollStore.tsx");
|
|
|
|
export default obj2;
|
|
export { INITIAL_STATE };
|
|
export const useDiceRollState = function useDiceRollState(channelId) {
|
|
closure_0 = channelId;
|
|
return obj2((channelId) => {
|
|
let tmp = null;
|
|
if (channelId.channelId === closure_0) {
|
|
tmp = channelId;
|
|
}
|
|
return tmp;
|
|
});
|
|
};
|