Closed pzxmsry closed 11 months ago
You should place the CookiesProvider
within the root layout.tsx
file. This file must be a server component.
Also, what's your Next.js version?
My Next.js version is 14.0.2, and you were right, when I placed it in a separate providers server component, everything worked. Thank you!
Whenever I wrap my application in
CookiesProvider
imported from "next-client-cookies/server", I receive this error. I was not callinguseCookies
orcookies
anywhere, so, what might be the problem?