From a2762fe4c3401bd9104051b59860ee57c8ee5b5e Mon Sep 17 00:00:00 2001 From: mrugesh <1884376+raisedadead@users.noreply.github.com> Date: Wed, 16 Oct 2019 17:33:08 +0530 Subject: [PATCH] fix: remove rollbar from loading in client (#37338) --- client/gatsby-ssr.js | 25 +------------------------ client/src/head/scripts.js | 10 +--------- 2 files changed, 2 insertions(+), 33 deletions(-) diff --git a/client/gatsby-ssr.js b/client/gatsby-ssr.js index 0030345aa1..cfdb4f187a 100644 --- a/client/gatsby-ssr.js +++ b/client/gatsby-ssr.js @@ -1,4 +1,3 @@ -/* global ROLLBAR_CLIENT_ID ENVIRONMENT */ import React from 'react'; import PropTypes from 'prop-types'; import { Provider } from 'react-redux'; @@ -24,28 +23,6 @@ export const onRenderBody = ({ setHeadComponents, setPostBodyComponents }) => { setHeadComponents([...headComponents]); setPostBodyComponents( [ - /* eslint-disable max-len */ - ENVIRONMENT === 'production' ? ( -