added udels editor and header

This commit is contained in:
Jade (Rose) Rowland
2024-06-14 01:24:08 -04:00
parent d23038d386
commit 6c9e0aaa1a
9 changed files with 190 additions and 7 deletions
@@ -0,0 +1,8 @@
// type Props = { error: Error | null };
export default function UserFacingErrorMessage(Props) {
const { error } = Props;
if (error == null) {
return;
}
return <div className="text-red-500 p-4 bg-lineHighlight animate-pulse">{error.message || 'Unknown Error :-/'}</div>;
}