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
11 lines
226 B
TypeScript
11 lines
226 B
TypeScript
import { ReactNode } from 'react'
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<div>
|
|
<h3 id="catch-all-slot-layout">Catch-all Slot Layout</h3>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|