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

export function useUserLeaderboardAbilities() {
    const { can } = useAuth();
    return {
        canView: can(PERMISSIONS.userLeaderboardView),
    };
}
