Skip to content

Commit

Permalink
head
Browse files Browse the repository at this point in the history
  • Loading branch information
blackmann committed Jun 2, 2024
1 parent 2265a92 commit 31e8a67
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions client/app/components/error-boundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,9 @@ function ErrorBoundary() {
<head>
<CommonHead />
<title>
{statusCode === 404
? "404 Not Found"
: `${statusCode} An unexpected Error`}
{statusCode}: {getErrorLabel(statusCode)}
</title>

<Meta />
<Links />
</head>
Expand All @@ -80,7 +79,9 @@ function ErrorBoundary() {
</div>

<div>
<h1 className="font-bold">{getErrorLabel(statusCode)}</h1>
<h1 className="font-bold">
{statusCode}: {getErrorLabel(statusCode)}
</h1>

<p className="text-gray-500">{getErrorDescription(statusCode)}</p>

Expand Down

0 comments on commit 31e8a67

Please sign in to comment.