Yuki Takei 1 年間 前
コミット
19738ee000

+ 1 - 1
apps/app/src/pages/_document.page.tsx

@@ -1,8 +1,8 @@
 /* eslint-disable @next/next/google-font-display */
 /* eslint-disable @next/next/google-font-display */
 import React from 'react';
 import React from 'react';
 
 
+import type { DocumentContext, DocumentInitialProps } from 'next/document';
 import Document, {
 import Document, {
-  DocumentContext, DocumentInitialProps,
   Html, Head, Main, NextScript,
   Html, Head, Main, NextScript,
 } from 'next/document';
 } from 'next/document';
 
 

+ 3 - 2
apps/app/src/pages/_error.page.tsx

@@ -1,5 +1,6 @@
-import { NextPageContext } from 'next';
-import Error, { ErrorProps } from 'next/error';
+import type { NextPageContext } from 'next';
+import type { ErrorProps } from 'next/error';
+import Error from 'next/error';
 
 
 export default function ErrorPage(props: ErrorProps): JSX.Element {
 export default function ErrorPage(props: ErrorProps): JSX.Element {
   return <Error {...props} />;
   return <Error {...props} />;