From 401495bcd5f0d5d72429fb6ada1c3e8007fbb77a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20H=C3=A4mmerle?= Date: Fri, 21 Dec 2018 03:20:12 +0100 Subject: [PATCH] fix custom document example (#5928) --- packages/next/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/README.md b/packages/next/README.md index d28ef38b..9b13ded4 100644 --- a/packages/next/README.md +++ b/packages/next/README.md @@ -1138,7 +1138,7 @@ that need to wrap the application to properly work with server-rendering. 🚧 ```js import Document from 'next/document' -export default MyDocument extends Document { +export default class MyDocument extends Document { static async getInitialProps(ctx) { const originalRenderPage = ctx.renderPage