Skip to content

Commit

Permalink
hide CookiePreferencesModal
Browse files Browse the repository at this point in the history
  • Loading branch information
alishaevn committed Dec 6, 2023
1 parent d46069a commit 5da7d8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ const WebStore = ({ Component }) => {

return (
<>
<CookiePreferencesModal
{/* <CookiePreferencesModal
disableCookies={disableCookies}
enableCookies={enableCookies}
getCookieConsent={getCookieConsent()}
/>
/> */}
<Header
auth={{
signIn: () => signIn(process.env.NEXT_PUBLIC_PROVIDER_NAME),
Expand Down
4 changes: 3 additions & 1 deletion utils/cookies.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import {
} from 'cookies-next'

/**
* if/when we add analytics, we need to address each TODO below
* if/when we add analytics, we need to address the following TODO's, as well as the TODO's in the code below
* - uncomment CookiePreferencesModal in pages/_app.js
* - uncomment CookiePreferencesCheck, the header and text in pages/legal-notices/cookie-policy.js
*/

const cookieConsentGiven = hasCookie('_dl_cookie_consent')
Expand Down

0 comments on commit 5da7d8c

Please sign in to comment.