~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/pds.js

An atproto PDS in JavaScript, for Cloudflare Workers and Node

0
0
main
11 lines · 308 B Raw History
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>
  );
}