From 02676fd7d41c9e449669e36283a54addc50dd200 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Wed, 3 Sep 2025 23:23:27 -0700 Subject: [PATCH] Fix ESLint errors causing Railway deployment failure (#435) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary - Fixed unescaped apostrophes in JSX text that were causing ESLint errors - These errors were preventing the production build from completing on Railway ## Changes - `app/[locale]/error.tsx`: Escaped apostrophe in "couldn't" - `app/[locale]/not-found.tsx`: Escaped apostrophes in "you're" and "couldn't" - `app/[locale]/unauthorized/page.tsx`: Escaped apostrophe in "don't" ## Test plan - [x] ESLint errors resolved locally - [ ] Railway deployment succeeds after merge 🤖 Generated with [Claude Code](https://claude.ai/code) --- 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