From 91c518ec7034a6c07c9c3ab75291af8472808b67 Mon Sep 17 00:00:00 2001 From: Ben Henning Date: Fri, 5 Aug 2022 09:32:35 +0200 Subject: [PATCH] Update _document.tsx No need to import React, as it is not being used. https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html Signed-off-by: Ben Henning --- examples/nextjs-with-typescript/pages/_document.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/nextjs-with-typescript/pages/_document.tsx b/examples/nextjs-with-typescript/pages/_document.tsx index 9767d763a9094f..e37ea60178db40 100644 --- a/examples/nextjs-with-typescript/pages/_document.tsx +++ b/examples/nextjs-with-typescript/pages/_document.tsx @@ -1,4 +1,3 @@ -import * as React from 'react'; import Document, { Html, Head, Main, NextScript } from 'next/document'; import createEmotionServer from '@emotion/server/create-instance'; import theme from '../src/theme';