// Metro module 9457 (f9458). import PermissionStore from "../../stores/PermissionStore"; import { Permissions } from "../../Constants"; import { useIsActiveChannelOrUnarchivableThread } from "../threads/ThreadHooks"; import { useStateFromStores } from "../../_bundle/Module589"; export default function useCanRemoveAllReactions(a0) { const isActiveChannelOrUnarchivableThread = useIsActiveChannelOrUnarchivableThread(a0); const stateFromStores = useStateFromStores([PermissionStore], () => PermissionStore.can(Permissions.MANAGE_MESSAGES, a0) && isActiveChannelOrUnarchivableThread, [a0, isActiveChannelOrUnarchivableThread]); return a0 != null && stateFromStores; };