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
This commit is contained in:
Justin Edmund 2025-09-03 23:20:23 -07:00
parent d2bf37a40e
commit d77bc3ff98
3 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,7 @@ export default function Error({ error, reset }: ErrorPageProps) {
<div className="error-container">
<div className="error-content">
<h1>Internal Server Error</h1>
<p>The server reported a problem that we couldn't automatically recover from.</p>
<p>The server reported a problem that we couldn&apos;t automatically recover from.</p>
<div className="error-message">
<p>{error.message || 'An unexpected error occurred'}</p>
{error.digest && <p className="error-digest">Error ID: {error.digest}</p>}

View file

@ -14,7 +14,7 @@ export default async function NotFound() {
<div className="error-container">
<div className="error-content">
<h1>Not Found</h1>
<p>The page you're looking for couldn't be found</p>
<p>The page you&apos;re looking for couldn&apos;t be found</p>
<div className="error-actions">
<Link href="/new" className="button primary">
Create a new party

View file

@ -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() {
<div className="error-container">
<div className="error-content">
<h1>Unauthorized</h1>
<p>You don't have permission to perform that action</p>
<p>You don&apos;t have permission to perform that action</p>
<div className="error-actions">
<Link href="/teams" className="button primary">
Browse teams