From 9764bae73f74a5fc706b126d32e2c964e4f82234 Mon Sep 17 00:00:00 2001 From: decadez Date: Fri, 18 Feb 2022 19:44:03 +0800 Subject: [PATCH] Fix incorrect writing of custom documents --- beta/src/pages/_document.tsx | 102 ++++++++++++++++++----------------- 1 file changed, 52 insertions(+), 50 deletions(-) diff --git a/beta/src/pages/_document.tsx b/beta/src/pages/_document.tsx index d93094e0a08..e8be390231f 100644 --- a/beta/src/pages/_document.tsx +++ b/beta/src/pages/_document.tsx @@ -5,60 +5,62 @@ import * as React from 'react'; import Document, {Html, Head, Main, NextScript} from 'next/document'; -const MyDocument = () => { - // @todo specify language in HTML? - return ( - - - -