forked from remix-run/react-router
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fixed] Navigation to root URL can fail
Navigation to root URL can fail when the URLStore is setup with location strategy 'hash'. This happens because URLStore.push verifies the current path. Unfortunately the used currentPath is not valid for the location strategies *hash* and *history*. This change changes URLStore.push so that it uses the location strategy specific current path. This value is already provided by URLStore.getCurrentPath.
- Loading branch information
Showing
2 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters