Files
hrmnyandGitHub 29af5dc0ae fix(turbopack): allow page segments that don't alter the path after catchall (#67713)
### What?

Parallel routes and groups were not allowed after a catch-all segment on
the turbopack side previously.

Closes PACK-2975
Fixes #64600
2024-07-13 10:45:00 +02:00

18 lines
260 B
TypeScript

import { ReactNode } from 'react'
export default function Layout({
children,
slot,
}: {
children: ReactNode
slot: ReactNode
}) {
return (
<div id="catch-all-layout">
<h2>Catch-all Layout</h2>
{slot}
{children}
</div>
)
}