You’re using React, so it won’t be able to have a custom page to redirect to as there’s no real HTML page. It’s a SPA, all rendered using JavaScript.
To display a custom page, you’d have to add a onsubmit
event handler to the form along with event.preventDefault()
, and then programatically navigate to using: useNavigate v6.15.0 | React Router.