Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
fix: page routes wildcard which breaks tutor
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhaugh committed Sep 26, 2023
1 parent e360c58 commit 18ac379
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ subscribe(APP_READY, () => {
ReactDOM.render(
<AppProvider store={store}>
<Routes>
<Route path={`${ROUTES.Detail.HOME}/*`} element={<StudioHeaderWrapper />} />
<Route path={`${ROUTES.Detail.HOME}`} element={<StudioHeaderWrapper />} />
<Route path="*" element={<StudioHeaderWrapper />} />
</Routes>
<Routes>
Expand All @@ -52,7 +52,7 @@ subscribe(APP_READY, () => {
<Route path={ROUTES.Detail.EDIT} element={<LibraryEditPage />} />
<Route path={ROUTES.Detail.ACCESS} element={<LibraryAccessPage />} />
<Route path={ROUTES.Detail.IMPORT} element={<CourseImportPage />} />
<Route path={`${ROUTES.Block.HOME}/*`} element={<LibraryBlockPage />} />
<Route path={`${ROUTES.Block.HOME}`} element={<LibraryBlockPage />} />
<Route path="*" element={<NotFoundPage />} />
</Route>
</Routes>
Expand Down

0 comments on commit 18ac379

Please sign in to comment.