Closed angel-tnc closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
staging-tiny-news-sites | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 7, 2023 6:02pm |
Is the best way to test this to push to staging?
Why
It was discovered that the cookie accept / decline check does not respect when the user clicks "decline" because it assumes the value returned by
getCookieConsentValue
is a boolean, when it is actually a string.What
Added a new function
cookiesAccepted
that callsgetCookieConsentValue
and returns a boolean, replaced used of the latter with the new function.Fix for TNT-196