chadtmiller.com/pds.js
An atproto PDS in JavaScript, for Cloudflare Workers and Node
0
0
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 (
<Notice variant="error" className={className}>
{error}
</Notice>
);
}