import { useAuth } from "@/app/auth/AuthProvider.jsx";
import { PERMISSIONS } from "@/app/permissions";

export function useInviteActivityRewardAbilities() {
    const { can } = useAuth();

    return {
        canUpdate: can(PERMISSIONS.inviteActivityRewardUpdate),
        canView: can(PERMISSIONS.inviteActivityRewardView),
    };
}
