You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why are you inlining "use server" inside form's action prop? Why does the action action have the same name as the action client? I need a link to a minimal reproduction example, as the issue template requests, to investigate this, thanks.
Are you using the latest version of this library?
Is there an existing issue for this?
Describe the bug
Hey I found out that using params of a page directly in an action does not work with next-safe action.
Reproduction steps
Reproduction:
❌ Does not work, the action is not running nor the middleware.
✅ Does work when instantiating it
Expected behavior
both should work
Minimal reproduction example
see reproduction steps
Operating System
macOs
Library version
6.2.0
Next.js version
14.2.3
Additional context
No response
The text was updated successfully, but these errors were encountered: