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
If I submit a <remix-form> inside of app/routes/index.js where I also have an action defined, I receive the following error.
You're trying to submit to a route that does not have an action. To fix this, please add an `action` function to the route for [/]
It seems to expect the action to be in app/root.js. I’m not sure how this compares with regular Remix or if this is just an issue with this implementation.
I wonder if this is related to remix-run/react-router#9486 and might be fixed by updating the @remix-run/router dependency once released. Maybe you could even use npm overrides to test this theory by setting @remix-run/router to 1.0.3-pre.1.
If I submit a
<remix-form>
inside ofapp/routes/index.js
where I also have an action defined, I receive the following error.It seems to expect the action to be in
app/root.js
. I’m not sure how this compares with regular Remix or if this is just an issue with this implementation.app/routes/index.js
The text was updated successfully, but these errors were encountered: