-
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.
Replace import of HashRouter, Route and Routes with BrowserRouter and…
… useRoutes in, create RoutesComponent in, add initialPhotoAlbumSlug as prop to TravelPhotos in the routes array of RoutesComponent in, refactor from HashRouter to BrowserRouter approach and update annotations to App.js, import useNavigate in, add initialPhotoAlbumSlug to, change setPhotoAlbum to setPhotoAlbumSlug in, create handlePopState in and update annotations to TravelPhotos.js, remove ReactDOM import from, remove react-photo-view/dist/react-photo-view.css import from, add useNavigate reference to arguments to, update annotations to and add navigate('/travel-photos') to the afterClose prop of PhotoProvider in and modify onClick to handle window.history.pushState in the parseAndRenderPhotoData procedure in _utils.js, add react-photo-view/dist/react-photo-view.css to index.js, remove window.location.reload from SingleTrack.js, remove window.location.reload from the onClick that navigates to the travel-photos path in SocialMenu.js, remove window.location.reload from Track.js, update language in InfoSheet.js, and update annotations to Home.js
- Loading branch information
Showing
10 changed files
with
478 additions
and
533 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.