Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade react rotuer to v6 #793

Merged
merged 7 commits into from
Aug 18, 2023
Prev Previous commit
Next Next commit
Merge branch 'master' of github.com:openedx/frontend-app-account into…
… Ali-Abbas/upgrade-react-router
  • Loading branch information
Syed-Ali-Abbas-Zaidi committed Aug 10, 2023
commit 6a6d77ed74465ff076103543a3cf52b3c6766de3
8 changes: 2 additions & 6 deletions src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,8 @@ subscribe(APP_READY, () => {
<Header />
<main className="flex-grow-1">
<Routes>
{allowNotificationRoutes && (
<>
<Route path="/notifications/:courseId" element={<NotificationPreferences />} />
<Route path="/notifications" element={<NotificationCourses />} />
</>
)}
<Route path="/notifications/:courseId" element={<NotificationPreferences />} />
<Route path="/notifications" element={<NotificationCourses />} />
<Route path="/id-verification/*" element={<IdVerificationPage />} />
<Route path="/" element={<AccountSettingsPage />} />
<Route path="/notfound" element={<NotFoundPage />} />
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.