Commit 0a8c5375 authored by Jimmy Lai's avatar Jimmy Lai

Fix exclamation mark icon - use circle for dot

The dot was rendered as a rounded rectangle because it was a short
line with rounded caps. Now uses an actual circle element.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: 's avatarClaude Opus 4.5 <noreply@anthropic.com>
parent d1b296bc
......@@ -141,11 +141,12 @@ export function ErrorIcon() {
/>
<circle cx="20" cy="20" r="16" fill="var(--next-error-icon-fill)" />
<path
d="M20 11v10M20 25v3"
d="M20 12v9"
stroke="#dc2626"
strokeWidth="2.5"
strokeLinecap="round"
/>
<circle cx="20" cy="27" r="1.5" fill="#dc2626" />
</svg>
)
}
import { Suspense } from 'react'
import { connection } from 'next/server'
export default async function ServerErrorPage() {
async function ServerErrorContent() {
await connection()
throw new Error('Test server error')
}
export default function ServerErrorPage() {
return (
<Suspense fallback={<div>Loading...</div>}>
<ServerErrorContent />
</Suspense>
)
}
......@@ -119,11 +119,11 @@ describe('app dir - default error page UI', () => {
"description": "Test server error",
"environmentLabel": "Server",
"label": "Runtime Error",
"source": "app/server-error/page.js (5:9) @ ServerErrorPage
> 5 | throw new Error('Test server error')
"source": "app/server-error/page.js (6:9) @ ServerErrorContent
> 6 | throw new Error('Test server error')
| ^",
"stack": [
"ServerErrorPage app/server-error/page.js (5:9)",
"ServerErrorContent app/server-error/page.js (6:9)",
],
}
`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment