Currently in the process of developing an Angular application, I've encountered a minor visual issue. On one of the pages, there is a ReactiveForm implemented, but whenever I navigate to that page, the URL reverts back to the previous one (even though the page displays correctly).
Here is the initial page: https://i.sstatic.net/23dVL.png
Subsequently, when I go to the register page:https://i.sstatic.net/ltvZw.png
I notice the URL changing momentarily only to switch back immediately.
In my app.module.ts file:
Essentially, this code snippet showcases the key elements included in app.module.ts for an Angular application being developed: imports, declarations, routes, etc.
As for register-form.component.ts:
This segment specifically pertains to the component responsible for handling user registration forms, including form validation and field error messages.