-
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 an hard refresh issues with the AuthorizedRoute
When hard refreshing a AuthorizedRoute it would always redirect to the dashboard even if the user is already logged in. - In AuthorizedRoute changed the state of the Redirect. This state need the from as a location instead of location being the whole state. Now the Redirect looks the same a the PrivateRoute and this doesn't have this problem.
- Loading branch information
1 parent
b7a9d97
commit 9095ae1
Showing
2 changed files
with
9 additions
and
8 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