Files
Alexander SavelyevandGitHub ac325dfd0b Fix intercepted segments with basepath (#60485)
### 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
2024-01-10 13:18:00 -08:00

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>
)
}