Skip to content

Commit

Permalink
add cookie banner prefs and remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamieomaguire committed Jan 31, 2024
1 parent 07bbd13 commit 7f2ca62
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions nextjs-app/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export default function Home() {
<PieDivider />

<PieCookieBanner
defaultPreferences={{functional: true, personalized: true, analytical: true}}
locale={locales.enGB}
hasPrimaryActionsOnly={true}
cookieTechnologiesLink="https://justeattakeaway.com"
Expand Down
2 changes: 0 additions & 2 deletions nuxt-app/pages/form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,10 @@ function handleSubmit(event) {
}
function handleNotificationsChange(event) {
console.log(event.target.checked)
notifications.value = event.target.checked;
}
function handleApproveSettingsChange(event) {
console.log(event.target.checked)
approveSettings.value = event.target.checked;
}
Expand Down

0 comments on commit 7f2ca62

Please sign in to comment.