Commit d1a16ad
Fix: Use goBack instead of navigate to prevent 404 staying in history
Navigation.navigate(ROUTES.HOME) was pushing HOME onto the navigation
stack, leaving the 404 page in browser history. Using goBack(ROUTES.HOME)
instead leverages the replace semantics in goUp(), removing the 404
from history before navigating to HOME.
Co-authored-by: truph01 <truph01@users.noreply.github.com>1 parent 99d6c02 commit d1a16ad
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments