import { NotificationManager } from "@/components/notifications/NotificationManager";
import { useAuth } from "@/contexts/AuthContext";

/**
 * `/dashboard/notifications` — applicant inbox (admin adjudication); staff see empty state / explainer.
 */
export default function NotificationsPage() {
  const { hasRole } = useAuth();
  const variant = hasRole("admin") || hasRole("editor") ? "admin" : "applicant";
  return <NotificationManager variant={variant} />;
}
