mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Fixes a bug that occurred when prefetching a Link to a dynamic page on a different deployment. I didn't catch this earlier during dogfooding because the app we were testing it on was using skew protection. It also only applies to non-PPR/static routes. This particular case happens when an app is redeployed on the server, but it can also happen when linking to a completely different Next app.
8 lines
139 B
React
8 lines
139 B
React
export default function RootLayout({ children, params }) {
|
|
return (
|
|
<html lang="en">
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|