Skip to content

A desktop coding agent with free access to frontier models.

TypeScript
436 B
Raw Blame
import { notFound } from "next/navigation";
import { readReview } from "@omnirush/review/storage";
import { Report } from "../../../components/report";

export const dynamic = "force-dynamic";

export default async function ReviewPage({
  params,
}: {
  params: Promise<{ id: string }>;
}) {
  const { id } = await params;
  const report = await readReview(id);
  if (!report) notFound();
  return <Report id={id} report={report} />;
}