From d77bc3ff9858fc50eee2afd8a46e959fcc5ddd80 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Wed, 3 Sep 2025 23:20:23 -0700 Subject: [PATCH] Fix ESLint errors: Escape apostrophes in JSX text - Fixed unescaped apostrophes in error.tsx, not-found.tsx, and unauthorized/page.tsx - These ESLint errors were causing the production build to fail on Railway - Changed apostrophes to HTML entity ' in JSX text content --- app/[locale]/error.tsx | 2 +- app/[locale]/not-found.tsx | 2 +- app/[locale]/unauthorized/page.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/[locale]/error.tsx b/app/[locale]/error.tsx index 1765abe8..f960a6a1 100644 --- a/app/[locale]/error.tsx +++ b/app/[locale]/error.tsx @@ -18,7 +18,7 @@ export default function Error({ error, reset }: ErrorPageProps) {

Internal Server Error

-

The server reported a problem that we couldn't automatically recover from.

+

The server reported a problem that we couldn't automatically recover from.

{error.message || 'An unexpected error occurred'}

{error.digest &&

Error ID: {error.digest}

} diff --git a/app/[locale]/not-found.tsx b/app/[locale]/not-found.tsx index 8df4e3b8..6d3f6527 100644 --- a/app/[locale]/not-found.tsx +++ b/app/[locale]/not-found.tsx @@ -14,7 +14,7 @@ export default async function NotFound() {

Not Found

-

The page you're looking for couldn't be found

+

The page you're looking for couldn't be found

Create a new party diff --git a/app/[locale]/unauthorized/page.tsx b/app/[locale]/unauthorized/page.tsx index 9413f383..98fff562 100644 --- a/app/[locale]/unauthorized/page.tsx +++ b/app/[locale]/unauthorized/page.tsx @@ -3,7 +3,7 @@ import Link from 'next/link' export const metadata: Metadata = { title: 'Unauthorized / granblue.team', - description: 'You don\'t have permission to perform that action' + description: "You don't have permission to perform that action" } export default function UnauthorizedPage() { @@ -11,7 +11,7 @@ export default function UnauthorizedPage() {

Unauthorized

-

You don't have permission to perform that action

+

You don't have permission to perform that action

Browse teams