#Seems like i cant win tho

1 messages · Page 1 of 1 (latest)

onyx jolt
#

did you figure this out?

void orchid
#

what issue are you having?

onyx jolt
#

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

void orchid
#

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

onyx jolt
#

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

onyx jolt
#

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

void orchid
#

into a client component from a server component

#

instead of just calling it inside the client component

onyx jolt
#

same issue

#

I nailed it down to this: when I genereateStaticParams, this

#

blows up

#

I can use this server action in this client on this page if and only if I don't generate static params