#root action always redirecting to index
1 messages · Page 1 of 1 (latest)
A Form navigates on submit. So you go to root when the Form is submitted.
If you want to prevent a navigation, check the doc for useFetcher and you probably want a fetcher.Form instead of a regular Form 😉
const statusFetcher = useFetcher()
<statusFetcher.Form>
...
</statusFetcher.Form>