I have been looking through Remix docs, but I can't find the answer to this. It seams that you can't redirect from action if you are using Form component from remix. Here is a stackblitz, take a look:
Here's the same example on Codesandbox and it works just fine as expected.