mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? make sure children is first in loader tree to fix head css bug on client navigation ### Why? ### How? Fixes PACK-3028 --------- Co-authored-by: Tim Neutkens <[email protected]>
17 lines
217 B
TypeScript
17 lines
217 B
TypeScript
export default function Root({
|
|
children,
|
|
modal,
|
|
}: {
|
|
children: React.ReactNode
|
|
modal: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html>
|
|
<body>
|
|
{children}
|
|
{modal}
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|