#Seems like i cant win tho
1 messages · Page 1 of 1 (latest)
what issue are you having?
running a server action gives Warning: Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported. error in dev using server actions
i cant remember
what I did
but I eventually did get pass that error
are you using the latest version?
of nextjs
i think also
can u tell me where ur server action is
where its being used
and whats it doing inside of the function
yea I'm on next@latest
server action is in its own file where it will accept text for a record insertion via prisma
it's being called on an input div in my client component
I think I found the issue. my client component is called in a dynamic route.
I tested calling this component in a static route and it works fine
wait nvm it's not a dynamic route issue
try passing the server action
into a client component from a server component
instead of just calling it inside the client component