From c81606fa91a3c47ca56fe35ab0b3a0fbe7a31856 Mon Sep 17 00:00:00 2001
From: Neshura
Date: Sun, 11 Dec 2022 17:47:19 +0100
Subject: [PATCH] removed comment, switched to _document.tsx
---
next.config.js | 4 ----
pages/_document.tsx | 13 +++++++++++++
pages/services.tsx | 1 -
3 files changed, 13 insertions(+), 5 deletions(-)
create mode 100644 pages/_document.tsx
diff --git a/next.config.js b/next.config.js
index f804348..2e4ef34 100644
--- a/next.config.js
+++ b/next.config.js
@@ -1,10 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
- i18n: {
- locales: ["en"],
- defaultLocale: "en",
- },
reactStrictMode: true,
output: 'standalone',
};
diff --git a/pages/_document.tsx b/pages/_document.tsx
new file mode 100644
index 0000000..399ed78
--- /dev/null
+++ b/pages/_document.tsx
@@ -0,0 +1,13 @@
+import { Html, Head, Main, NextScript } from 'next/document'
+
+export default function Document() {
+ return (
+
+
+
+
+
+
+
+ )
+}
\ No newline at end of file
diff --git a/pages/services.tsx b/pages/services.tsx
index 4a70d84..03e3efe 100644
--- a/pages/services.tsx
+++ b/pages/services.tsx
@@ -8,7 +8,6 @@ import useSWR from 'swr';
const fetcher = (url: string) => fetch(url).then((res) => res.json())
-//function Services(props: EntryList) {
function Services() {
const { initialData, fullData, loadingInitial, loadingFull, error } = useServices();