From ea0310548a190af11ba18fa2fd1f705bea518902 Mon Sep 17 00:00:00 2001 From: Benedek Kozma Date: Wed, 14 Feb 2024 01:42:50 +0100 Subject: [PATCH] Change: use Script component instead of async script for custom.js (#2901) --- src/pages/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 0de51e32a..4bf1d9a27 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -1,6 +1,7 @@ /* eslint-disable react/no-array-index-key */ import useSWR, { SWRConfig } from "swr"; import Head from "next/head"; +import Script from "next/script"; import dynamic from "next/dynamic"; import classNames from "classnames"; import { useTranslation } from "next-i18next"; @@ -401,8 +402,7 @@ function Home({ initialSettings }) { emptyValue="/* No custom CSS */" /> - -