Skip to content

Commit

Permalink
Update _document.tsx
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Arcktosh authored Aug 5, 2022
1 parent 67e1579 commit 91c518e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/nextjs-with-typescript/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 91c518e

Please sign in to comment.