n00b Q: server actions with parameters throw
Unanswered
Nile tilapia posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/3.png)
Nile tilapiaOP
getting this error:
if i remove the parameters from the server action it works, but not sure the cause, happens if i import the server action into the client component or if i import into an upper layer server and pass down as props, also using
⨯ Internal error: TypeError: Cannot read properties of undefined
if i remove the parameters from the server action it works, but not sure the cause, happens if i import the server action into the client component or if i import into an upper layer server and pass down as props, also using
useFormState
and passing the return value from useFormState
into action prop of form1 Reply
![Avatar](https://cdn.discordapp.com/avatars/743561772069421169/3c5d689eee4459a24fc420063411c016.webp?size=256)
Ray
could you show some code?