diff --git a/next.config.js b/next.config.js index 8bf386b2..fc907d52 100644 --- a/next.config.js +++ b/next.config.js @@ -4,6 +4,9 @@ const nextConfig = { images: { domains: ['cdn.discordapp.com', 'i.imgur.com', 'cdn.buildtheearth.net'], }, + // compiler: { + // styledComponents: true, + // }, i18n: { defaultLocale: 'en', locales: ['en', 'de', 'es', 'fr', 'ru', 'nl'], diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index be6baf60..99615984 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -23,7 +23,6 @@ function MyApp({ Component, pageProps }: AppProps) { defaultValue: '', }); - // TODO: Font return ( diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx index 77ad9d39..aa5efa7f 100644 --- a/src/pages/_document.tsx +++ b/src/pages/_document.tsx @@ -3,7 +3,7 @@ import { Head, Html, Main, NextScript } from 'next/document'; import { ColorSchemeScript } from '@mantine/core'; import { createGetInitialProps } from '@mantine/next'; -const getInitialProps = createGetInitialProps(); +export const getInitialProps = createGetInitialProps(); export default function Document() { // static getInitialProps = getInitialProps;