From d07039a52f611a5cba351d528d3bebf9a2400040 Mon Sep 17 00:00:00 2001 From: ASoldo Date: Mon, 8 Jan 2024 18:39:16 +0100 Subject: [PATCH] Idk --- pages/index.vue | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) 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 }, +// );