Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reafactor: fix nested route
Browse files Browse the repository at this point in the history
rpenido committed Oct 25, 2023
1 parent 3a08c30 commit bc671f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.jsx
Original file line number Diff line number Diff line change
@@ -53,10 +53,10 @@ const App = () => {
<Route path="/course/:courseId/*" element={<CourseAuthoringRoutes />} />
<Route path="/course_rerun/:courseId" element={<CourseRerun />} />
{process.env.ENABLE_TAGGING_TAXONOMY_PAGES === 'true' && (
<>
<Route path="/taxonomy-list" element={<TaxonomyListPage />} />
<Route path="/taxonomy-list">
<Route index element={<TaxonomyListPage />} />
<Route path="/taxonomy-list/:taxonomyId" element={<TaxonomyDetailPage />} />
</>
</Route>
)}
</Routes>
</QueryClientProvider>

0 comments on commit bc671f9

Please sign in to comment.