"use client";
/**
 * 错误消息展示
 *
 * 
 */
import styles from "./auth-error-message.module.css";

export function AuthErrorMessage({ message }: { message: string | null }) {
  if (!message) return null;
  return (
    <div className={styles.banner} role="alert">
      {message}
    </div>
  );
}
