mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? Disables logging when an error is thrown anyway (which will be logged upstream). Reduces the errors logged when there is a compiler error to 1, currently it shows 3 times. Closes PACK-3170
11 lines
156 B
TypeScript
11 lines
156 B
TypeScript
import { data } from '@/lib/data'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<>
|
|
<h1>{data.title}</h1>
|
|
<p>{data.content}</p>
|
|
</>
|
|
)
|
|
}
|