Skip to content

Commit

Permalink
Closes #123 updating react-router-dom
Browse files Browse the repository at this point in the history
  • Loading branch information
mshuber1981 committed Jan 5, 2025
1 parent 2bd87ed commit 2c4e287
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 28 deletions.
50 changes: 25 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"react-dom": "^18.3.1",
"react-error-boundary": "^4.0.13",
"react-redux": "^9.1.2",
"react-router-dom": "^6.24.1",
"react-router-dom": "^6.28.1",
"react-scroll": "^1.8.7",
"sass": "^1.77.6",
"styled-components": "^6.1.14",
Expand Down
5 changes: 3 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,9 @@ const App = ({ projectCardImages = [], filteredProjects = [] }) => {

return (
<ErrorBoundary FallbackComponent={AppFallback}>
{/* https://reactrouter.com/en/main/router-components/hash-router#future */}
<HashRouter future={{ v7_startTransition: true }}>
{/* https://reactrouter.com/6.28.0/upgrading/future#v7_starttransition */}
{/* https://reactrouter.com/6.28.0/upgrading/future#v7_relativesplatpath */}
<HashRouter future={{ v7_startTransition: true, v7_relativeSplatPath: true, }}>
<ThemeProvider theme={{ name: theme }}>
<ScrollToTop />
<GlobalStyles />
Expand Down

0 comments on commit 2c4e287

Please sign in to comment.