import { redirect } from "next/navigation";

type PageProps = {
  params: Promise<{ id: string }>;
};

export default async function ArticleDetailsAliasPage({ params }: PageProps) {
  const { id } = await params;
  redirect(`/articles/${id}`);
}
