import { redirect } from "next/navigation";

// Old ticket links (notifications, bookmarks) open the conversation in the support inbox.
export default async function TicketDetailPage({ params }: { params: Promise<{ id: string }> }) {
  const { id } = await params;
  redirect(`/support?c=${encodeURIComponent(id)}`);
}
