Closed buntaga closed 1 year ago
I am getting this error
DynamicServerError: Dynamic server usage: Page couldn't be rendered statically because it usedcookies.
DynamicServerError: Dynamic server usage: Page couldn't be rendered statically because it used
.
Despite adding export const dynamic = 'force-dynamic';
export const dynamic = 'force-dynamic';
To my Layout file... Where did I go wrong?
I am getting this error
DynamicServerError: Dynamic server usage: Page couldn't be rendered statically because it used
cookies.
Despite adding
export const dynamic = 'force-dynamic';
To my Layout file... Where did I go wrong?