mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
The error message previously did not say which parallel route slot couldn't be validated. Now it poitns to the nearest segment below the validation boundary. The idea is you go look abive this and figure out if it is intentional that this segment isn't rendered in the current context. If so you can ignored the warning (it should ideally not even be presented as a normal error) but if it is unintentional you investigate why you aren't SSRing this slot or you mark the slot as intentionally blocking so it doesn't get validated.
7 lines
236 B
TypeScript
7 lines
236 B
TypeScript
// Required so /test-firstmod is a valid route too. The interesting
|
|
// case is /test-firstmod/inner/leaf — see the README... actually, see
|
|
// the layout's comment.
|
|
export default function Page() {
|
|
return <p>test-firstmod root</p>
|
|
}
|