mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
We insert the content returning from `useServerInsertedHTML` to head element for app dir, but it shouldn't only inject once since there're suspense boundaries that could hold insertions. ## Bug - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` Co-authored-by: JJ Kasper <[email protected]>
12 lines
185 B
JavaScript
12 lines
185 B
JavaScript
import Comp from './styled-jsx'
|
|
import StyledComp from './styled-components'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<div>
|
|
<Comp />
|
|
<StyledComp />
|
|
</div>
|
|
)
|
|
}
|