mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
9 lines
141 B
TypeScript
9 lines
141 B
TypeScript
'use client'
|
|
|
|
export default function Page() {
|
|
if (typeof window !== 'undefined') {
|
|
throw new Error('boom')
|
|
}
|
|
return <p>fine</p>
|
|
}
|