Only plain objects, and a few built-ins, can be passed to Client Components from Server Components.
Hello, I'm having a little bit of trouble here, so I'm using nextjs 14, after adding my custom provider, I get this error
So what I did is like this., I created a provider.
And then I wrap my children
2 Replies
extended-salmon•16mo ago
the providers file itself needs to be a client component
other-emeraldOP•16mo ago
Thank you, whaha, so that's the only problem, I'm trying to figure it out, where I went wrong