Skip to content

Commit

Permalink
reverted to HeadComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
akshatnema committed Apr 26, 2024
1 parent cf77534 commit 758dd4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down Expand Up @@ -166,7 +165,7 @@ var I18nProvider = (props) => {
setHydration(true);
}
}, [options.allowHydration]);
return hydration ? props.children : <Custom/>;
return hydration ? props.children : <HeadComponent />;
};

/**
Expand Down

0 comments on commit 758dd4e

Please sign in to comment.