import { RecordView } from '@/features/objects/record/ui/RecordView';

export const metadata = {
  title: 'Event',
};

/** Alias of /objects/event/<id> (HUB-265). */
export default async function EventRecordPage({ params }: { params: Promise<{ id: string }> }) {
  const { id } = await params;
  return <RecordView objectKey="event" recordId={id} />;
}
