This PR is reworking the way we memorize the routing logic of send pages.
drop several useEffect handling history.goBack & history.push
replace useEffect by a new ProtectedRedirectRoute applied to homepage (route /). That component works like ProtectedRoute but redirect to the right send page depending on the state.transaction.step value.
This PR is reworking the way we memorize the routing logic of send pages.
useEffect
handling history.goBack & history.pushProtectedRedirectRoute
applied to homepage (route/
). That component works like ProtectedRoute but redirect to the right send page depending on thestate.transaction.step
value.it closes #418
@tiero please review