From b8d05b85543e88fab0b6f4c908ff48d5a57d91a7 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sun, 14 Jul 2024 17:11:25 +0100 Subject: [PATCH] fix: make the disconnection error less immature --- client/src/app/pages/ErrorPage.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/app/pages/ErrorPage.tsx b/client/src/app/pages/ErrorPage.tsx index b27b8f6f8..b8ad3c166 100644 --- a/client/src/app/pages/ErrorPage.tsx +++ b/client/src/app/pages/ErrorPage.tsx @@ -11,7 +11,7 @@ export function ErrorPage({ statusCode: number; customMessage?: string; }) { - useSetSubheader(statusCode ? statusCode.toString() : "Completely Screwed."); + useSetSubheader(statusCode ? statusCode.toString() : "Lost Connection."); let message; @@ -39,7 +39,7 @@ export function ErrorPage({ break; case undefined: message = - "Looks like the server has completely crashed. Ah well. Try reloading, but there's no promises."; + "Looks like we've lost connection to the server. Ah well. Try reloading, but there's no promises."; break; default: message = "An unexpected error has occurred. This has been reported!"; @@ -70,7 +70,7 @@ export function ErrorPage({ style={style} >

- {statusCode || "Completely Screwed."} + {statusCode || "Lost Connection"}

{message}