"use client";

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

// This page is no longer used — email verification is handled by
// /api/auth/verify-email (GET), which redirects to /onboarding on success.
// Redirect legacy traffic to login.
export default function VerifyPage() {
  const router = useRouter();
  useEffect(() => { router.replace("/login"); }, [router]);
  return null;
}
