import { redirect } from 'next/navigation'

interface Props {
  params: Promise<{ id: string; sprintId: string }>
}

export default async function SprintPlanningRedirect({ params }: Props) {
  const { id, sprintId } = await params
  redirect(`/products/${id}/sprint/${sprintId}`)
}
