import { redirect } from 'next/navigation'

export default async function LegacyEditEventProductPage({ params }: { params: Promise<{ id: string }> }) {
  const { id } = await params
  redirect(`/admin/events/${encodeURIComponent(id)}/edit`)
}
