"use client" import { useEffect, useRef } from "react" export function FormErrors({ errors }: { errors: string[] }) { const ref = useRef(null) useEffect(() => { if (errors.length) ref.current?.focus() }, [errors]) if (!errors.length) return null return

Bitte prüfen Sie Ihre Eingaben.

}