mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### Fixing a bug ### What? When basePath is added, intercepted routes stop working correctly. ### Why? For them, basePath was not added at all. ### How? Added basePath to the rewrites for intercepted routes. Fixes #52624, #58268
14 lines
235 B
TypeScript
14 lines
235 B
TypeScript
export default function Layout(props: {
|
|
children: React.ReactNode
|
|
slot: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html>
|
|
<body>
|
|
<div id="children">{props.children}</div>
|
|
{props.slot}
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|