12 lines
506 B
TypeScript
12 lines
506 B
TypeScript
// Metro module 11630 (f11631).
|
|
import { lazy, useCallback } from "react";
|
|
import { openAlert } from "../../../../../design/components/AlertModal/native/useAlertStore.native";
|
|
let Component = lazy(() => import("../GuildPowerupsDeactivateAlert"));
|
|
export default function useGuildPowerupOnShowDeactivate(a0, a1) {
|
|
const guildId = a0;
|
|
const powerup = a1;
|
|
return useCallback(() => {
|
|
openAlert("guild-powerups-deactivate-alert", <Component guildId={guildId} powerup={powerup} />);
|
|
}, [a0, a1]);
|
|
};
|