diff --git a/examples/with-styled-components/pages/_document.js b/examples/with-styled-components/pages/_document.js index 384b19b9..030091d0 100644 --- a/examples/with-styled-components/pages/_document.js +++ b/examples/with-styled-components/pages/_document.js @@ -4,7 +4,9 @@ import styleSheet from 'styled-components/lib/models/StyleSheet' export default class MyDocument extends Document { static async getInitialProps ({ renderPage }) { const page = renderPage() - const styles = styleSheet.rules().map(rule => rule.cssText).join('\n') + const styles = ( +