19 lines
467 B
TypeScript
19 lines
467 B
TypeScript
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>
|
|
);
|
|
} |