'use client';

import { useRouter } from 'next/navigation';
import { useEffect } from 'react';

export default function PrescriptionsPage() {
  const router = useRouter();

  useEffect(() => {
    router.replace('/patients');
  }, [router]);

  return null;
}
