Skip to content

Commit 6a2956b

Browse files
committed
fix: add cookies to the provider
1 parent 8cea90b commit 6a2956b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/wise-eggs-tell.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+
add cookies to providers

packages/use-analytics/src/cookies-consent/CookieConsentProvider.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,15 @@ export const CookieConsentProvider = ({
193193
categoriesConsent: cookieConsent,
194194
saveConsent,
195195
categories: CATEGORIES,
196+
cookies,
196197
}),
197198
[
198199
destinations,
199200
isDestinationsLoaded,
200201
needConsent,
201202
cookieConsent,
202203
saveConsent,
204+
cookies,
203205
],
204206
)
205207

0 commit comments

Comments
 (0)