From 87be96a2448124a83909492384a68ecb58fa5757 Mon Sep 17 00:00:00 2001 From: Ahmad Abdolsaheb Date: Wed, 16 Oct 2019 22:14:53 +0300 Subject: [PATCH] feat: load scripts conditionally based on path (#37344) --- client/gatsby-ssr.js | 6 ------ client/utils/gatsby/layoutSelector.js | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/client/gatsby-ssr.js b/client/gatsby-ssr.js index cfdb4f187a..9306aa55aa 100644 --- a/client/gatsby-ssr.js +++ b/client/gatsby-ssr.js @@ -38,12 +38,6 @@ export const onRenderBody = ({ setHeadComponents, setPostBodyComponents }) => { ` }} key='gtag-dataLayer' - />, -