removed comment, switched to _document.tsx

This commit is contained in:
Neshura 2022-12-11 17:47:19 +01:00
parent 450141fde9
commit c81606fa91
No known key found for this signature in database
GPG key ID: ACDF5B6EBECF6B0A
3 changed files with 13 additions and 5 deletions

View file

@ -1,10 +1,6 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
i18n: {
locales: ["en"],
defaultLocale: "en",
},
reactStrictMode: true, reactStrictMode: true,
output: 'standalone', output: 'standalone',
}; };

13
pages/_document.tsx Normal file
View file

@ -0,0 +1,13 @@
import { Html, Head, Main, NextScript } from 'next/document'
export default function Document() {
return (
<Html lang='en'>
<Head />
<body>
<Main />
<NextScript />
</body>
</Html>
)
}

View file

@ -8,7 +8,6 @@ import useSWR from 'swr';
const fetcher = (url: string) => fetch(url).then((res) => res.json()) const fetcher = (url: string) => fetch(url).then((res) => res.json())
//function Services(props: EntryList) {
function Services() { function Services() {
const { initialData, fullData, loadingInitial, loadingFull, error } = useServices(); const { initialData, fullData, loadingInitial, loadingFull, error } = useServices();