import { Notice } from '#/components/atoms/notice.jsx'; /** The shared error surface: renders nothing until there is a message. */ export function ErrorNotice({ error, className }) { if (!error) return null; return ( {error} ); }