diff --git a/gatsby-ssr.js b/gatsby-ssr.js index c9533d8a3..0ff7d91a4 100644 --- a/gatsby-ssr.js +++ b/gatsby-ssr.js @@ -5,8 +5,9 @@ import { renderToString } from 'react-dom/server'; import { theme } from './src/theme/docsTheme'; import EuclidCircularASemiBold from './src/styles/fonts/EuclidCircularA-Semibold-WebXL.woff'; import redirectBasedOnLang from './src/utils/head-scripts/redirect-based-on-lang'; +import { getHtmlLangFormat } from './src/utils/locale'; -export const onRenderBody = ({ setHeadComponents }) => { +export const onRenderBody = ({ setHeadComponents, setHtmlAttributes }) => { const headComponents = [ // GTM Pathway