Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
21 lines
783 B
TypeScript
21 lines
783 B
TypeScript
// Module ID: 12670
|
|
// Function ID: 12671
|
|
// Name: useGuildPowerupOnDeactivate
|
|
// Dependencies: [19, 12665, 2]
|
|
// Exports: default
|
|
|
|
// Module 12670 (useGuildPowerupOnDeactivate)
|
|
import useGuildPowerupOnToggleDefault from "useGuildPowerupOnToggle" /* 12665 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/premium/powerups/hooks/useGuildPowerupOnDeactivate.tsx");
|
|
|
|
export default function useGuildPowerupOnDeactivate(arg0, arg1) {
|
|
const tmp = useGuildPowerupOnToggleDefault(arg0, arg1);
|
|
const onToggle = tmp.onToggle;
|
|
const obj = { isLoading: tmp.isLoading, error: tmp.error, onDeactivate: null };
|
|
const items = [onToggle];
|
|
obj.onDeactivate = noop.useCallback(() => onToggle(false), items);
|
|
return obj;
|
|
};
|