import { Link } from "@tanstack/react-router"; import { SeverityBadge } from "./SeverityBadge"; import type { PullCodeAlert } from "~/hooks/use-pull-code-alerts"; export function CodeAnnotation({ owner, repo, alert }: { owner: string; repo: string; alert: PullCodeAlert }) { return (
Code scanning {alert.ruleName ?? alert.ruleId} {alert.tool}

{alert.message}

); }