import { BerthDetail } from '@/components/berths/berth-detail';
import { TrackEntityView } from '@/components/search/track-entity-view';

interface BerthPageProps {
  params: Promise<{ portSlug: string; berthId: string }>;
}

export default async function BerthPage({ params }: BerthPageProps) {
  const { berthId } = await params;
  return (
    <>
      <TrackEntityView type="berth" id={berthId} />
      <BerthDetail berthId={berthId} />
    </>
  );
}
