diff --git a/pages/index.vue b/pages/index.vue index d46f3e9..0eb3c81 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -153,19 +153,19 @@ const { } = useCookieControl(); // example: react to a cookie being accepted -watch( - () => cookiesEnabledIds.value, - (current, previous) => { - if ( - !previous?.includes("google-analytics") && - current?.includes("google-analytics") - ) { - // cookie with id `google-analytics` got added - window.location.reload(); // placeholder for your custom change handler - } - }, - { deep: true }, -); +// watch( +// () => cookiesEnabledIds.value, +// (current, previous) => { +// if ( +// !previous?.includes("google-analytics") && +// current?.includes("google-analytics") +// ) { +// // cookie with id `google-analytics` got added +// window.location.reload(); // placeholder for your custom change handler +// } +// }, +// { deep: true }, +// );