Files
Jiachi LiuandGitHub 33477b7e64 [segment-explorer] display the builtin conventions (#80961)
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
2025-06-27 16:41:07 +02:00

9 lines
152 B
TypeScript

'use client'
export default function Page() {
if (typeof window !== 'undefined') {
throw new Error('Error on client')
}
return <p>page</p>
}