BitBoxSwiss / bitbox-wallet-app

The BitBoxApp for desktop and mobile.
https://bitbox.swiss/app
Apache License 2.0
250 stars 82 forks source link

frontend: replace history entry when redirecting #2827

Closed thisconnect closed 1 month ago

thisconnect commented 1 month ago

When automatic navigation occurs (redirects) the history entry should be replaced so that the user can go back.

This fixes issues when the user tries to go back but lands on the same page again due to previous step redirecting.

This also removes some routing logic from manage-backups which can be handled centrally by app.tsx routing.