Skip to content

Commit

Permalink
feat: add onetrust and remove custom cookie component
Browse files Browse the repository at this point in the history
  • Loading branch information
roadlittledawn committed Sep 21, 2021
1 parent 6d0d0bb commit f341ace
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = {
{
resolve: '@newrelic/gatsby-theme-newrelic',
options: {
oneTrustID: '77dd4d78-49db-4057-81ea-4bc325d6ecdd',
forceTrailingSlashes: true,
layout: {
contentPadding: '2rem',
Expand Down
2 changes: 0 additions & 2 deletions src/layouts/MainLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -83,7 +82,6 @@ const MainLayout = ({ children, pageContext }) => {
</SdkContext.Provider>
<Layout.Footer fileRelativePath={fileRelativePath} />
</Layout>
<CookieConsentDialog />
</>
);
};
Expand Down

0 comments on commit f341ace

Please sign in to comment.