Commit 8f662c44 authored by dmytro-lymarenko's avatar dmytro-lymarenko Committed by Luis Fernando Alvarez D

Fix children key in with-typescript-styled-components example (#8003)

parent 9609fe45
......@@ -15,12 +15,12 @@ export default class MyDocument extends Document {
const initialProps = await Document.getInitialProps(ctx)
return {
...initialProps,
styles: [
styles: (
<>
{initialProps.styles}
{sheet.getStyleElement()}
</>,
],
</>
),
}
} finally {
sheet.seal()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment