Files
assetx/webapp/app/product/[id]/page.tsx

11 lines
252 B
TypeScript
Raw Normal View History

import { redirect } from "next/navigation";
interface Props {
params: Promise<{ id: string }>;
}
export default async function ProductRedirectPage({ params }: Props) {
const { id } = await params;
redirect(`/market/product/${id}`);
}