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 { ...@@ -15,12 +15,12 @@ export default class MyDocument extends Document {
const initialProps = await Document.getInitialProps(ctx) const initialProps = await Document.getInitialProps(ctx)
return { return {
...initialProps, ...initialProps,
styles: [ styles: (
<> <>
{initialProps.styles} {initialProps.styles}
{sheet.getStyleElement()} {sheet.getStyleElement()}
</>, </>
], ),
} }
} finally { } finally {
sheet.seal() 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