From 758dd4e12d340eb8ec65b6f88182ec32098da1af Mon Sep 17 00:00:00 2001 From: akshatnema Date: Fri, 26 Apr 2024 22:55:48 +0530 Subject: [PATCH] reverted to HeadComponent --- lib/i18n.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/i18n.js b/lib/i18n.js index 669e3c834d8d..7cafe82660af 100644 --- a/lib/i18n.js +++ b/lib/i18n.js @@ -12,7 +12,6 @@ import { import nextI18nextStaticSiteConfig from "../next-i18next-static-site.config"; import HeadComponent from "../components/Head"; -import Custom from "../components/custom"; var defaultConfig = { allowHydration: true, languages: ["en"], @@ -166,7 +165,7 @@ var I18nProvider = (props) => { setHydration(true); } }, [options.allowHydration]); - return hydration ? props.children : ; + return hydration ? props.children : ; }; /**