import AdminAuthGuard from '@/src/components/AdminAuthGuard';
import TransfersManagementComponent from './TransfersManagementComponent';

export default async function TransfersManagementPage({
  params
}: {
  params: Promise<{ club_id: string }>;
}) {
  const { club_id } = await params;
  const clubId = parseInt(club_id, 10);

  return (
    <AdminAuthGuard>
      <TransfersManagementComponent clubId={clubId} />
    </AdminAuthGuard>
  );
}
