Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix: error view - center the crash stack

Blue Mouse5801a50e1574
diff --git a/web/app/root.tsx b/web/app/root.tsx
index b2139724e..5237de628 100644
--- a/web/app/root.tsx
+++ b/web/app/root.tsx
@@ -151,7 +151,7 @@ export function ErrorBoundary() {
<br />
Please, tell us about it at {CONTACT_EMAIL}
</p>
- <p className='mt-6 text-base font-medium text-gray-800 dark:text-gray-300'>
+ <p className='mt-6 flex flex-col justify-center text-base font-medium text-gray-800 dark:text-gray-300'>
{isRouteErrorResponse(error) ? (
<>
<span>
@@ -161,7 +161,7 @@ export function ErrorBoundary() {
</>
) : error instanceof Error ? (
<>
- {error.message}
+ <span>{error.message}</span>
<br />
<button
type='button'