From 77f8cc0f1229ff40ec978cd2e5365ce535be2773 Mon Sep 17 00:00:00 2001 From: Clinton Date: Mon, 20 Sep 2021 11:44:23 -0700 Subject: [PATCH 1/4] fix: remove custom cookie consent component in favor of onetrust --- src/layouts/MainLayout.js | 2 -- 1 file changed, 2 deletions(-) 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 }) => { - ); }; From aaf947392dd004f07f1f2f02f2662d60895aaf86 Mon Sep 17 00:00:00 2001 From: Clinton Date: Mon, 20 Sep 2021 14:24:15 -0700 Subject: [PATCH 2/4] chore: switch onetrust ID to the prod ID --- gatsby-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index 846d25281..64aaae132 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -21,7 +21,7 @@ module.exports = { { resolve: '@newrelic/gatsby-theme-newrelic', options: { - oneTrustID: '77dd4d78-49db-4057-81ea-4bc325d6ecdd-test', + oneTrustID: '77dd4d78-49db-4057-81ea-4bc325d6ecdd', forceTrailingSlashes: true, layout: { contentPadding: '2rem', From 7114d400ae45829508bf2b2035bdae8a3beed0b2 Mon Sep 17 00:00:00 2001 From: Clinton Date: Mon, 20 Sep 2021 14:48:05 -0700 Subject: [PATCH 3/4] chore: bump theme version for tessen amplitude update --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f55bf5479..aa86bc59b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "@emotion/styled": "^11.3.0", "@mdx-js/mdx": "^1.6.19", "@mdx-js/react": "^1.6.19", - "@newrelic/gatsby-theme-newrelic": "^2.10.0", + "@newrelic/gatsby-theme-newrelic": "^2.10.1", "@splitsoftware/splitio-react": "^1.2.0", "@xstate/react": "^1.0.2", "classnames": "^2.2.6", From ce9290785de05291596128a3e238c0889c404a26 Mon Sep 17 00:00:00 2001 From: Clinton Date: Mon, 20 Sep 2021 14:50:02 -0700 Subject: [PATCH 4/4] chore: commit yarn lock file --- yarn.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/yarn.lock b/yarn.lock index 3306813b8..b96187787 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2048,10 +2048,10 @@ eslint-plugin-promise "^4.2.1" eslint-plugin-react "^7.14.3" -"@newrelic/gatsby-theme-newrelic@^2.10.0": - version "2.10.0" - resolved "https://registry.yarnpkg.com/@newrelic/gatsby-theme-newrelic/-/gatsby-theme-newrelic-2.10.0.tgz#3df9a6c46021c02770f8b1101663cb11fdd3f3ba" - integrity sha512-/MYWZyh8iS2rFgDyUPxDkEv1Xvdoq9docSIR6JzGRm2OwM8ChxppHVMpyMW0I/ESGvE8tgQyeac8y+Bd+kVAUQ== +"@newrelic/gatsby-theme-newrelic@^2.10.1": + version "2.10.1" + resolved "https://registry.yarnpkg.com/@newrelic/gatsby-theme-newrelic/-/gatsby-theme-newrelic-2.10.1.tgz#b6088a1a0f89f44496adffa001e14e22bb65e26f" + integrity sha512-ZtUj0mzPez7NQwgBCs8kVfKX4E29GTIXQgsTZw8yVDhwzOfv9IrX9FdWKJb7+/1uGxYiPq9Krl+LtXc8UKFENw== dependencies: "@wry/equality" "^0.4.0" "@xstate/react" "^1.3.1"