Skip to content

Commit

Permalink
fix: make the disconnection error less immature
Browse files Browse the repository at this point in the history
  • Loading branch information
zkrising committed Jul 14, 2024
1 parent fb81c50 commit b8d05b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/app/pages/ErrorPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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!";
Expand Down Expand Up @@ -70,7 +70,7 @@ export function ErrorPage({
style={style}
>
<h1 className="display-1 enable-rfs fw-bold mt-15">
{statusCode || "Completely Screwed."}
{statusCode || "Lost Connection"}
</h1>
<p className="fs-3">{message}</p>
<a
Expand Down

0 comments on commit b8d05b8

Please sign in to comment.