From f341acefa22d6783291c4f0100eede28edfbb02f Mon Sep 17 00:00:00 2001 From: Clinton Date: Tue, 21 Sep 2021 11:25:00 -0700 Subject: [PATCH] feat: add onetrust and remove custom cookie component --- gatsby-config.js | 1 + src/layouts/MainLayout.js | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index dae30c77a..184aa78e5 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -21,6 +21,7 @@ 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 69913882b..7726ab221 100644 --- a/src/layouts/MainLayout.js +++ b/src/layouts/MainLayout.js @@ -2,7 +2,6 @@ import React, { useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import { css } from '@emotion/react'; import { - CookieConsentDialog, GlobalHeader, Layout, Logo, @@ -83,7 +82,6 @@ const MainLayout = ({ children, pageContext }) => { - ); };