From 26c51416204fc45aa1870832619503af7363be20 Mon Sep 17 00:00:00 2001 From: Clinton Date: Mon, 20 Sep 2021 15:38:02 -0700 Subject: [PATCH] fix: revert to using custom cookie consent component until onetrust issue is resolved --- gatsby-config.js | 1 - src/layouts/MainLayout.js | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index 64aaae132..982ce9c90 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -21,7 +21,6 @@ module.exports = { { resolve: '@newrelic/gatsby-theme-newrelic', options: { - oneTrustID: '77dd4d78-49db-4057-81ea-4bc325d6ecdd', forceTrailingSlashes: true, layout: { contentPadding: '2rem', diff --git a/src/layouts/MainLayout.js b/src/layouts/MainLayout.js index 7726ab221..69913882b 100644 --- a/src/layouts/MainLayout.js +++ b/src/layouts/MainLayout.js @@ -2,6 +2,7 @@ import React, { useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import { css } from '@emotion/react'; import { + CookieConsentDialog, GlobalHeader, Layout, Logo, @@ -82,6 +83,7 @@ const MainLayout = ({ children, pageContext }) => { + ); };