From e2a98cdf3d6ebd03696c53d60739d2506e7d6e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Fri, 28 Oct 2022 11:33:05 -0700 Subject: [PATCH] chore(examples): fix `with-aphrodite` exapmle (#42078) --- examples/with-aphrodite/pages/_document.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/with-aphrodite/pages/_document.js b/examples/with-aphrodite/pages/_document.js index a795210dc0be..dcaa569581dd 100644 --- a/examples/with-aphrodite/pages/_document.js +++ b/examples/with-aphrodite/pages/_document.js @@ -5,7 +5,7 @@ class MyDocument extends Document { static async getInitialProps({ renderPage }) { const { html, css } = StyleSheetServer.renderStatic(() => renderPage()) const ids = css.renderedClassNames - return { ...html, css, ids } + return { ...(await html), css, ids } } render() {