Skip to content

Commit

Permalink
Revert "feat: upgrade react router to v6 (openedx#174)"
Browse files Browse the repository at this point in the history
This reverts commit d57fbfa.
  • Loading branch information
bra-i-am authored Nov 14, 2023
1 parent 68adc31 commit 14033b5
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 41 deletions.
114 changes: 78 additions & 36 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@edx/brand": "npm:@edx/brand-openedx@^1.2.0",
"@edx/frontend-component-footer": "12.2.1",
"@edx/frontend-component-header": "4.6.0",
"@edx/frontend-platform": "5.6.1",
"@edx/frontend-platform": "4.6.3",
"@edx/paragon": "^20.44.0",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-brands-svg-icons": "^5.15.4",
Expand Down Expand Up @@ -59,8 +59,8 @@
"react-intl": "^5.20.9",
"react-pdf": "^5.5.0",
"react-redux": "^7.2.9",
"react-router": "6.15.0",
"react-router-dom": "6.15.0",
"react-router": "5.3.4",
"react-router-dom": "5.3.4",
"react-router-redux": "^5.0.0-alpha.9",
"redux": "4.2.1",
"redux-beacon": "^2.1.0",
Expand Down
1 change: 0 additions & 1 deletion src/__snapshots__/index.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ exports[`app registry subscribe: APP_READY. links App to root element 1`] = `
Symbol(Symbol.observable): [Function],
}
}
wrapWithRouter={false}
>
<App />
</AppProvider>
Expand Down
2 changes: 1 addition & 1 deletion src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import App from './App';

subscribe(APP_READY, () => {
ReactDOM.render(
<AppProvider store={store} wrapWithRouter={false}>
<AppProvider store={store}>
<App />
</AppProvider>,
document.getElementById('root'),
Expand Down

0 comments on commit 14033b5

Please sign in to comment.