import { Link } from "@tanstack/react-router"; import { SeverityBadge } from "./SeverityBadge"; import { Badge } from "~/ui/Badge"; type Alert = { number: number; tool: string; ruleId: string; ruleName: string | null; severity: string; securitySeverity: string | null; message: string; path: string | null; startLine: number | null; commitSha: string; state: string; }; export function CodeAlertList({ owner, repo, alerts }: { owner: string; repo: string; alerts: Alert[] }) { return (
{alert.message}