From b14d25f644feb06e34e18f17575eb2ee6e2b6c8b Mon Sep 17 00:00:00 2001 From: rayangler <27821750+rayangler@users.noreply.github.com> Date: Fri, 14 Jun 2024 16:14:16 -0400 Subject: [PATCH] Remove lang-based redirect for now (#1133) --- gatsby-ssr.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/gatsby-ssr.js b/gatsby-ssr.js index f3a1a7e7f..5d6e83d7b 100644 --- a/gatsby-ssr.js +++ b/gatsby-ssr.js @@ -4,7 +4,7 @@ import { renderStylesToString } from '@leafygreen-ui/emotion'; 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 redirectBasedOnLang from './src/utils/head-scripts/redirect-based-on-lang'; export const onRenderBody = ({ setHeadComponents }) => { const headComponents = [ @@ -24,14 +24,15 @@ export const onRenderBody = ({ setHeadComponents }) => { __html: `!function(e,t,r,n){if(!e[n]){for(var a=e[n]=[],i=["survey","reset","config","init","set","get","event","identify","track","page","screen","group","alias"],s=0;s, -