Skip to content

Commit 202cd5d

Browse files
fix(debug): glitch debug (#2382)
* fix: missing console debug * docs: changeset
1 parent 5b591ac commit 202cd5d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.changeset/pink-feet-glow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@scaleway/cookie-consent": patch
3+
---
4+
5+
Fix missing to remove debug

packages/cookie-consent/src/CookieConsentProvider/CookieConsentProvider.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export const CookieConsentProvider = ({
7171
cookiesOptions?: SerializeOptions
7272
}>) => {
7373
const [needConsent, setNeedsConsent] = useState(false)
74-
console.debug('document cookie', document.cookie)
7574
const [cookies, setCookies] = useState<Record<string, string | undefined>>(
7675
IS_CLIENT ? parse(document.cookie) : {},
7776
)

0 commit comments

Comments
 (0)