import { redirect } from 'next/navigation';

import { paths } from '@/paths';

interface PageProps {
  params: { id: string };
}

/** Legacy volunteer edit → Contacts volunteer edit */
export default function Page({ params }: PageProps) {
  redirect(paths.dashboard.volunteerEdit(params.id));
}
