"use client";
/**
 * 错误消息展示
 *
 * 
 */
export function AuthErrorMessage({ message }: { message: string | null }) {
  if (!message) return null;
  return (
    <div
      className="w-full bg-transparent p-0 text-center text-(length:--responsive-caption) leading-[1.4] text-error"
      role="alert"
    >
      {message}
    </div>
  );
}
