mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Reverts the revert of #95878. This failed on `main` due to React bugs (https://github.com/react/react/pull/37061?) which are fixed now.
7 lines
158 B
TypeScript
7 lines
158 B
TypeScript
import { connection } from 'next/server'
|
|
|
|
export default async function Page(): Promise<never> {
|
|
await connection()
|
|
throw new Error('This is an error')
|
|
}
|