import { redirect } from 'next/navigation';

// Next.js 15 requires params to be awaited
export default async function DemoVerticalPage({ params }: { params: Promise<{ vertical: string }> }) {
  const { vertical } = await params;
  // Redirect to the main demos page with the vertical as query param
  redirect(`/demos?vertical=${vertical}`);
}
