Commit f9b88ee
Normalize /Home path to lowercase in getAdaptedStateFromPath
React Navigation generates /Home (capitalized) for the sign-in page because
PublicScreens uses SCREENS.HOME ('Home') at the root level without a path
mapping. This causes a "not found" page when navigating to /Home after login.
Normalize the path to lowercase when it case-insensitively matches /home,
following the same pattern as the existing /signin normalization.
Co-authored-by: mkhutornyi <mkhutornyi@users.noreply.github.com>1 parent c491e7e commit f9b88ee
1 file changed
Lines changed: 6 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
414 | 420 | | |
415 | 421 | | |
416 | 422 | | |
| |||
0 commit comments