Files
raceplanner/frontend/src/app/events/[eventId]/register/page.tsx
T

19 lines
467 B
TypeScript
Raw Normal View History

import { RegistrationForm } from '@/components/registration-form';
interface RegisterPageProps {
params: Promise<{
eventId: string;
}>;
}
export default async function RegisterPage({ params }: RegisterPageProps) {
const { eventId } = await params;
return (
<div className="min-h-screen bg-gray-50 py-8">
<div className="max-w-4xl mx-auto px-4">
<RegistrationForm eventId={eventId} eventName="Event" />
</div>
</div>
);
}