Next.js Discord

Discord Forum

shadcn components doesn’t work on routes where I have server actions

Unanswered
Giant panda posted this in #help-forum
Open in Discord
Avatar
Giant pandaOP
Hi, I was hanging out with Lucia V3 and Next 15, but when I import any Shadcn component, it throws a rare error. The interesting thing is that it only happens in routes where I have server actions that use cookies....also have to mention that if I use a regular button tag everything works

Fun fact: Iam using app router I don’t know why the error say that.
Image

0 Replies