Files
prompts.chat/src/app/global-error.tsx
T
2026-03-19 10:26:05 +03:00

20 lines
287 B
TypeScript

"use client";
import NextError from "next/error";
export default function GlobalError({
error,
}: {
error: Error & { digest?: string };
}) {
console.error(error);
return (
<html lang="en">
<body>
<NextError statusCode={0} />
</body>
</html>
);
}