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 : ; }; /**