diff --git a/beta/next.config.js b/beta/next.config.js index 9f925932a4a..9f7b2714235 100644 --- a/beta/next.config.js +++ b/beta/next.config.js @@ -10,8 +10,7 @@ module.exports = { pageExtensions: ['jsx', 'js', 'ts', 'tsx', 'mdx', 'md'], experimental: { plugins: true, - // TODO: this doesn't work because https://github.com/vercel/next.js/issues/30714 - // concurrentFeatures: true, + concurrentFeatures: true, scrollRestoration: true, }, async redirects() { diff --git a/beta/package.json b/beta/package.json index 505e3d90483..9ee1c5390bf 100644 --- a/beta/package.json +++ b/beta/package.json @@ -30,7 +30,7 @@ "date-fns": "^2.16.1", "debounce": "^1.2.1", "github-slugger": "^1.3.0", - "next": "^12.0.3-canary.2", + "next": "^12.0.4-canary.8", "parse-numeric-range": "^1.2.0", "react": "18.0.0-alpha-930c9e7ee-20211015", "react-collapsed": "3.1.0", diff --git a/beta/src/pages/_document.tsx b/beta/src/pages/_document.tsx index 51da08cc9ce..869690c1f03 100644 --- a/beta/src/pages/_document.tsx +++ b/beta/src/pages/_document.tsx @@ -3,64 +3,60 @@ */ import * as React from 'react'; -import Document, {Html, Head, Main, NextScript} from 'next/document'; - -class MyDocument extends Document { - render() { - // @todo specify language in HTML? - return ( - - - -