'use client';

interface Props {
  message?: string;
}

export function FieldError({ message }: Props) {
  if (!message) return null;
  return <p className="mt-1 text-[11px] text-red-500">{message}</p>;
}
