mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What? Parallel routes and groups were not allowed after a catch-all segment on the turbopack side previously. Closes PACK-2975 Fixes #64600
15 lines
270 B
TypeScript
15 lines
270 B
TypeScript
import { ReactNode } from 'react'
|
|
|
|
export default function Root({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html>
|
|
<body>
|
|
<div id="root-layout">
|
|
<h1>Root Layout</h1>
|
|
{children}
|
|
</div>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|