mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Track built-in conventions in segment explorer. The default `global-not-found.js` and `global-error.js` will be displayed. Their style will be different to the others, we'll follow up in the later PRs. Closes NEXT-4576
13 lines
189 B
TypeScript
13 lines
189 B
TypeScript
'use client'
|
|
|
|
export default function GlobalError() {
|
|
return (
|
|
<html>
|
|
<body>
|
|
<h1>Global Error</h1>
|
|
<p>This is a global error</p>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|