'use client';

import { useParams } from 'next/navigation';
import { LeagueScheduleTemplate } from '@/templates/LeagueScheduleTemplate';

export default function LeagueScheduleInteractive() {
  const params = useParams();
  const leagueId = params.id as string;

  return <LeagueScheduleTemplate leagueId={leagueId} />;
}