Files
web/app/global-error.tsx
2024-05-30 17:56:56 +02:00

21 lines
365 B
TypeScript

"use client"
import styles from "./global-error.module.css"
export default function GlobalError({
error,
}: {
error: Error & { digest?: string }
}) {
console.log({ global_error: error })
return (
<html>
<body>
<div className={styles.layout}>
<h1>Something went really wrong!</h1>
</div>
</body>
</html>
)
}