import { redirect } from "next/navigation";

/** Legacy URL — project work now lives under Tasks (PRD is the first task). */
export default async function PrdRedirectPage({
  params,
}: {
  params: Promise<{ workspace: string; projectId: string }>;
}) {
  const { workspace, projectId } = await params;
  redirect(`/${workspace}/project/${projectId}/tasks`);
}
