mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-12 19:02:53 +08:00
fix styled-components
This commit is contained in:
parent
d1d219fbbd
commit
b1880bda0c
@ -28,7 +28,7 @@ class MyDocument extends Document {
|
||||
const initialProps = await Document.getInitialProps(ctx);
|
||||
return {
|
||||
...initialProps,
|
||||
styles: [initialProps.styles, <>{sheet.getStyleElement()}</>],
|
||||
styles: [initialProps.styles, sheet.getStyleElement()],
|
||||
};
|
||||
} finally {
|
||||
sheet.seal();
|
||||
|
Loading…
x
Reference in New Issue
Block a user