mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +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]>
16 lines
267 B
TypeScript
16 lines
267 B
TypeScript
'use client'
|
|
|
|
import './global.css'
|
|
import styles from './styles.module.css'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<main>
|
|
<p id="global">Hello World</p>
|
|
<p id="module" className={styles.module}>
|
|
Hello World
|
|
</p>
|
|
</main>
|
|
)
|
|
}
|