style: add x before an error

This commit is contained in:
2026-03-21 18:39:13 +07:00 Unverified
parent 572448a5a7
commit d01783c27f
+6 -1
View File
@@ -2,6 +2,11 @@ import { CardResponse } from "./response";
export async function ErrorPage(message: string) { export async function ErrorPage(message: string) {
return CardResponse( 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>,
); );
} }