Skip to content

Commit

Permalink
fix(debug): glitch debug (#2382)
Browse files Browse the repository at this point in the history
* fix: missing console debug

* docs: changeset
  • Loading branch information
alexandre-combemorel authored Jan 2, 2025
1 parent abd569c commit 77dc0c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/pink-feet-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@scaleway/cookie-consent": patch
---

Fix missing to remove debug
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export const CookieConsentProvider = ({
cookiesOptions?: SerializeOptions
}>) => {
const [needConsent, setNeedsConsent] = useState(false)
console.debug('document cookie', document.cookie)
const [cookies, setCookies] = useState<Record<string, string | undefined>>(
IS_CLIENT ? parse(document.cookie) : {},
)
Expand Down

0 comments on commit 77dc0c7

Please sign in to comment.