style: add x before an error
This commit is contained in:
+6
-1
@@ -2,6 +2,11 @@ import { CardResponse } from "./response";
|
||||
|
||||
export async function ErrorPage(message: string) {
|
||||
return CardResponse(
|
||||
<pre tw="p-[1em] m-0 text-[1.1em] whitespace-pre-wrap">{message}</pre>,
|
||||
<div tw="flex p-[1em] gap-[.5em]">
|
||||
<div></div>
|
||||
<pre tw="m-0 text-[1.1em] leading-none whitespace-pre-wrap">
|
||||
{message}
|
||||
</pre>
|
||||
</div>,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user